[php-src] master: Fix coverage nightly job failure

From: Date: Sun, 01 Nov 2026 13:08:36 +0000
Subject: [php-src] master: Fix coverage nightly job failure
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143146@lists.php.net to get a copy of this message
Author: ndossche (ndossche) Date: 2026-11-01T14:08:11+01:00 Commit: https://github.com/php/php-src/commit/12562428837f5db6915dbbb5735ee4983ed9fd87 Raw diff: https://github.com/php/php-src/commit/12562428837f5db6915dbbb5735ee4983ed9fd87.diff Fix coverage nightly job failure Changed paths: M ext/session/tests/session_write_failure_keeps_data.phpt Diff: diff --git a/ext/session/tests/session_write_failure_keeps_data.phpt b/ext/session/tests/session_write_failure_keeps_data.phpt index 7ef38fccea18..232b3e5313cf 100644 --- a/ext/session/tests/session_write_failure_keeps_data.phpt +++ b/ext/session/tests/session_write_failure_keeps_data.phpt @@ -40,6 +40,9 @@ session_start(); $_SESSION['data'] = 'new'; @session_write_close(); +// Restore the limit so that shutdown (and gcov) can write files +posix_setrlimit(POSIX_RLIMIT_FSIZE, POSIX_RLIMIT_INFINITY, POSIX_RLIMIT_INFINITY); + echo "Contents unchanged after failed write: "; var_dump(file_get_contents($file) === $before);

« previous php.cvs (#143146) next »