projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa1743
)
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
author
Anatoliy Belsky
<ab@php.net>
Mon, 16 Apr 2012 13:20:03 +0000
(15:20 +0200)
committer
Anatoliy Belsky
<ab@php.net>
Mon, 16 Apr 2012 13:20:03 +0000
(15:20 +0200)
ext/ldap/tests/ldap_sasl_bind_basic.phpt
patch
|
blob
|
history
diff --git
a/ext/ldap/tests/ldap_sasl_bind_basic.phpt
b/ext/ldap/tests/ldap_sasl_bind_basic.phpt
index 6ed14a5b19b0fe9ed9f6e4aa55f4b785e1340c70..efa1f82c9b1f891477b9d14b68d387200ca57563 100644
(file)
--- a/
ext/ldap/tests/ldap_sasl_bind_basic.phpt
+++ b/
ext/ldap/tests/ldap_sasl_bind_basic.phpt
@@
-6,6
+6,13
@@
Patrick Allaert <patrickallaert@php.net>
--SKIPIF--
<?php require_once('skipif.inc'); ?>
<?php if (!function_exists("ldap_sasl_bind")) die("skip LDAP extension not compiled with SASL support"); ?>
+<?php
+ require "connect.inc";
+ $link = fsockopen($host, $port);
+ if (!$link) {
+ die("skip no server listening");
+ }
+?>
--FILE--
<?php
require "connect.inc";