Closed
Description
Description
On Gentoo this test works flawlessly when it is supposed to emit warnings. The contents of gh13856.log
are,
---- EXPECTED OUTPUT
Warning: SessionHandler::open(): open_basedir restriction in effect. File(%s) is not within the allowed path(s): (.) in %s on line %d
Warning: SessionHandler::close(): Parent session handler is not open in %s on line %d
Warning: session_start(): Failed to initialize storage module: user (path: ) in %s on line %d
---- ACTUAL OUTPUT
---- FAILED
We're running the test suite from within /var/lib/portage/tmp/portage/dev-lang/php-8.3.7/work/php-8.3.7
, and with a command that is highly fudged but ideally equivalent to,
export TEST_PHP_EXTRA_ARGS="-n"
SKIP_IO_CAPTURE_TESTS=1 SKIP_PERF_SENSITIVE=1 REPORT_EXIT_STATUS=1 \
/var/lib/portage/tmp/portage/dev-lang/php-8.3.7/work/sapis-build/cli/sapi/cli/php \
/var/lib/portage/tmp/portage/dev-lang/php-8.3.7/work/sapis-build/cli/run-tests.php \
--offline -n -q -d "session.save_path=/var/lib/portage/tmp/portage/dev-lang/php-8.3.7/temp"
I can't yet explain the quiet test based on that, but it fails nonetheless.
PHP Version
PHP 8.3.7
Operating System
No response