mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Show eventual output of clean sections
This is a hack to investigate why mysqli_insert_packet_overflow.phpt intermittently fails on AppVeyor, and will be reverted in due time. See <https://github.com/php/php-src/pull/5447#issuecomment-620508790>.
This commit is contained in:
parent
88a701aa02
commit
5eb4ab07f2
1 changed files with 4 additions and 1 deletions
|
@ -2497,7 +2497,10 @@ COMMAND $cmd
|
||||||
$clean_params = settings2params($clean_params);
|
$clean_params = settings2params($clean_params);
|
||||||
$extra = !IS_WINDOWS ?
|
$extra = !IS_WINDOWS ?
|
||||||
"unset REQUEST_METHOD; unset QUERY_STRING; unset PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;" : "";
|
"unset REQUEST_METHOD; unset QUERY_STRING; unset PATH_TRANSLATED; unset SCRIPT_FILENAME; unset REQUEST_METHOD;" : "";
|
||||||
system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env);
|
$clean_output = system_with_timeout("$extra $php $pass_options $extra_options -q $clean_params $no_file_cache \"$test_clean\"", $env);
|
||||||
|
if (trim($clean_output) != '') {
|
||||||
|
echo "\nCLEAN OUTPUT: $file: $clean_output\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$cfg['keep']['clean']) {
|
if (!$cfg['keep']['clean']) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue