Commit:    1c435ae498bb89c466e5c74e3be8c85cff17835a
Author:    Anatoliy Belsky <a...@php.net>         Mon, 16 Apr 2012 15:25:20 
+0200
Parents:   47e7755785e49836ca9b0e5376ec81fa209b9386
Branches:  PHP-5.3 PHP-5.4 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=1c435ae498bb89c466e5c74e3be8c85cff17835a

Log:
Fix bug 61718 ext\ldap\tests\ldap_set_rebind_proc_error.phpt fails

Bugs:
https://bugs.php.net/61718

Changed paths:
  M  ext/ldap/tests/ldap_set_rebind_proc_error.phpt


Diff:
diff --git a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt 
b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
index 3b4cd69..966612f 100644
--- a/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
+++ b/ext/ldap/tests/ldap_set_rebind_proc_error.phpt
@@ -5,6 +5,16 @@ Patrick Allaert <patrickalla...@php.net>
 # Belgian PHP Testfest 2009
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
+<?php
+       if (!function_exists("ldap_set_rebind_proc")) {
+               die("skip ldap_set_rebind_proc() does not exist");
+       }
+       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

Reply via email to