[php-src] PHP-8.4: Make test accept different outputs

From: Date: Mon, 23 Nov 2026 09:42:11 +0000
Subject: [php-src] PHP-8.4: Make test accept different outputs
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-144049@lists.php.net to get a copy of this message
Author: Mikhail Galanin Committer: Jakub Zelenka (bukka) Date: 2026-11-23T10:41:31+01:00 Commit: https://github.com/php/php-src/commit/55a422432de59502dcd4b49a3f8dd771577cd685 Raw diff: https://github.com/php/php-src/commit/55a422432de59502dcd4b49a3f8dd771577cd685.diff Make test accept different outputs In the test, we check whether ini_cafile/ini_capath are empty or not. But these values can be affected by configuration and may be not empty. As long as this is not important for this test, let's keep the check of the structure of the array and allow different values for the properties Closes GH-11278 Changed paths: M ext/openssl/tests/openssl_get_cert_locations_basic.phpt Diff: diff --git a/ext/openssl/tests/openssl_get_cert_locations_basic.phpt b/ext/openssl/tests/openssl_get_cert_locations_basic.phpt index b9d273e5119d..e6f8046af0dd 100644 --- a/ext/openssl/tests/openssl_get_cert_locations_basic.phpt +++ b/ext/openssl/tests/openssl_get_cert_locations_basic.phpt @@ -22,7 +22,7 @@ array(8) { ["default_default_cert_area"]=> string(%d) "%s" ["ini_cafile"]=> - string(%d) "" + string(%d) "%S" ["ini_capath"]=> - string(%d) "" + string(%d) "%S" }

« previous php.cvs (#144049) next »