projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
495fb58
)
use LISTEN env variable if defined
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 20 May 2011 12:00:45 +0000
(12:00 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 20 May 2011 12:00:45 +0000
(12:00 +0000)
t/ldap-koha.t
patch
|
blob
|
history
diff --git
a/t/ldap-koha.t
b/t/ldap-koha.t
index
cc8191a
..
2825ad4
100755
(executable)
--- a/
t/ldap-koha.t
+++ b/
t/ldap-koha.t
@@
-21,7
+21,7
@@
sub ldap_check_error {
diag $o->error if $o->code;
}
-ok( my $ldap = Net::LDAP->new( 'localhost:2389' ), 'new Net::LDAP' );
+ok( my $ldap = Net::LDAP->new(
$ENV{LISTEN} ||
'localhost:2389' ), 'new Net::LDAP' );
ok( my $bind = $ldap->bind, 'bind' );
ldap_check_error $bind;