Commit: 47e7755785e49836ca9b0e5376ec81fa209b9386 Author: Anatoliy Belsky <a...@php.net> Mon, 16 Apr 2012 15:20:03 +0200 Parents: 4fa1743009888ab209539598a564ad0d8f5fc7cc Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=47e7755785e49836ca9b0e5376ec81fa209b9386 Log: Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails Bugs: https://bugs.php.net/61717 Changed paths: M ext/ldap/tests/ldap_sasl_bind_basic.phpt Diff: diff --git a/ext/ldap/tests/ldap_sasl_bind_basic.phpt b/ext/ldap/tests/ldap_sasl_bind_basic.phpt index 6ed14a5..efa1f82 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 <patrickalla...@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"; -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php