com php-src: Fix bug 61717 ext\ldap\tests\ldap_sasl_b ind_basic.phpt fails: ext/ldap/tests/ldap_sasl_bi nd_basic.phpt

From: Date: Mon, 16 Apr 2012 13:20:03 +0000
Subject: com php-src: Fix bug 61717 ext\ldap\tests\ldap_sasl_b ind_basic.phpt fails: ext/ldap/tests/ldap_sasl_bi nd_basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-68788@lists.php.net to get a copy of this message
Commit: 47e7755785e49836ca9b0e5376ec81fa209b9386 Author: Anatoliy Belsky <ab@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 <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";

« previous php.cvs (#68788) next »