1
0
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:
Christoph M. Becker
2024-11-06 11:59:07 +01:00
parent fde053bb92
commit d276ea54f4
2 changed files with 8 additions and 2 deletions

View File

@@ -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";

View File

@@ -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";