diff options
| author | Anatoliy Belsky <ab@php.net> | 2012-04-16 15:20:03 +0200 |
|---|---|---|
| committer | Anatoliy Belsky <ab@php.net> | 2012-04-16 15:20:03 +0200 |
| commit | 47e7755785e49836ca9b0e5376ec81fa209b9386 (patch) | |
| tree | ed6c274110fbe16eae95094bb4944d256ef99364 /ext/ldap/tests | |
| parent | 4fa1743009888ab209539598a564ad0d8f5fc7cc (diff) | |
| download | php-git-47e7755785e49836ca9b0e5376ec81fa209b9386.tar.gz | |
Fix bug 61717 ext\ldap\tests\ldap_sasl_bind_basic.phpt fails
Diffstat (limited to 'ext/ldap/tests')
| -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"; |
