mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Skip tests if ldap_set_rebind_proc() is not available
This is already done by ldap_set_rebind_proc_error.phpt, but not by the other two affected tests. Closes GH-16708.
This commit is contained in:
@@ -6,7 +6,10 @@ Patrick Allaert <patrickallaert@php.net>
|
||||
--EXTENSIONS--
|
||||
ldap
|
||||
--SKIPIF--
|
||||
<?php require_once('skipifbindfailure.inc'); ?>
|
||||
<?php
|
||||
if (!function_exists('ldap_set_rebind_proc')) die("skip ldap_set_rebind_proc() not available");
|
||||
require_once('skipifbindfailure.inc');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require "connect.inc";
|
||||
|
||||
@@ -6,7 +6,10 @@ Patrick Allaert <patrickallaert@php.net>
|
||||
--EXTENSIONS--
|
||||
ldap
|
||||
--SKIPIF--
|
||||
<?php require_once('skipifbindfailure.inc'); ?>
|
||||
<?php
|
||||
if (!function_exists('ldap_set_rebind_proc')) die("skip ldap_set_rebind_proc() not available");
|
||||
require_once('skipifbindfailure.inc');
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require "connect.inc";
|
||||
|
||||
Reference in New Issue
Block a user