Skip to content

Commit daaaf2b

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Pass worker ID to clean scripts
2 parents acee66a + 9a98569 commit daaaf2b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

run-tests.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,12 +2492,9 @@ function run_test($php, $file, $env)
24922492
save_text($test_clean, trim($section_text['CLEAN']), $temp_clean);
24932493

24942494
if (!$no_clean) {
2495-
$clean_params = array();
2496-
settings2array($ini_overwrites, $clean_params);
2497-
$clean_params = settings2params($clean_params);
24982495
$extra = !IS_WINDOWS ?
24992496
"unset REQUEST_METHOD; unset QUERY_STRING; unset PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;" : "";
2500-
$clean_output = system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env);
2497+
$clean_output = system_with_timeout("$extra $php $pass_options $extra_options -q $orig_ini_settings $no_file_cache \"$test_clean\"", $env);
25012498
if (trim($clean_output) != '') {
25022499
echo "\nCLEAN OUTPUT: $file: $clean_output\n";
25032500
}

0 commit comments

Comments
 (0)