diff options
author | Anatoliy Belsky <ab@php.net> | 2012-04-16 15:21:04 +0200 |
---|---|---|
committer | Anatoliy Belsky <ab@php.net> | 2012-04-16 15:21:04 +0200 |
commit | 1a44faf26458f03af896d6ac1da08eb128541ea3 (patch) | |
tree | 97c016e2ae7ebe171363f6fedaff71e8e0dd7359 /ext/ldap | |
parent | 9f42c1890b4e34922eade63a5eb95f1a25d20556 (diff) | |
parent | 47e7755785e49836ca9b0e5376ec81fa209b9386 (diff) | |
download | php-git-1a44faf26458f03af896d6ac1da08eb128541ea3.tar.gz |
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3:
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
Diffstat (limited to 'ext/ldap')
-rw-r--r-- | ext/ldap/tests/ldap_sasl_bind_basic.phpt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/ldap/tests/ldap_sasl_bind_basic.phpt b/ext/ldap/tests/ldap_sasl_bind_basic.phpt index 6ed14a5b19..efa1f82c9b 100644 --- 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"; |