[php-src] PR #16708: Skip tests if ldap_set_rebind_proc() is not available
| From: | cmb69 | Date: | Wed, 06 Nov 2024 11:10:40 +0000 |
| Subject: | [php-src] PR #16708: Skip tests if ldap_set_rebind_proc() is not available | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29526@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16708
Author: cmb69
This is already done by ldap_set_rebind_proc_error.phpt, but not by the other two affected tests.
---
Note that while
[ldap_set_rebind_proc_error.phpt](https://github.com/php/php-src/blob/master/ext/ldap/tests/ldap_set_rebind_proc_error.phpt)
has this check right, it, the check for the server being available is borked, because it mixes URI
and hostname.
https://github.com/php/php-src/blob/228c27112a0ea23b51b6bb92b33ecc8a73c5dbb3/ext/ldap/tests/connect.inc#L10