mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02: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:
parent
fde053bb92
commit
d276ea54f4
2 changed files with 8 additions and 2 deletions
|
@ -6,7 +6,10 @@ Patrick Allaert <patrickallaert@php.net>
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
ldap
|
ldap
|
||||||
--SKIPIF--
|
--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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require "connect.inc";
|
require "connect.inc";
|
||||||
|
|
|
@ -6,7 +6,10 @@ Patrick Allaert <patrickallaert@php.net>
|
||||||
--EXTENSIONS--
|
--EXTENSIONS--
|
||||||
ldap
|
ldap
|
||||||
--SKIPIF--
|
--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--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
require "connect.inc";
|
require "connect.inc";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue