diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-07 12:18:27 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-07 12:18:27 +0200 |
| commit | d37454d9f0d54de2cca8ac5b24581db57a1efc86 (patch) | |
| tree | 83ce16a0c92251bb296e21a992dc84698c551744 | |
| parent | ef9736e06274c23808b8dfc19f97b49e1e0ad8b6 (diff) | |
| parent | 53077217e2801f65dd3cb598f12aee2fa792742a (diff) | |
| download | php-git-d37454d9f0d54de2cca8ac5b24581db57a1efc86.tar.gz | |
Merge branch 'PHP-7.4'
* PHP-7.4:
Delete temporary .post files of run-tests.php
| -rwxr-xr-x | run-tests.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/run-tests.php b/run-tests.php index 6c1920b366..9c5356a790 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2627,6 +2627,7 @@ COMMAND $cmd if (!$cfg['keep']['php']) { @unlink($test_file); } + @unlink($tmp_post); if (!$leaked && !$failed_headers) { if (isset($section_text['XFAIL'])) { @@ -2656,6 +2657,7 @@ COMMAND $cmd if (!$cfg['keep']['php']) { @unlink($test_file); } + @unlink($tmp_post); if (!$leaked && !$failed_headers) { if (isset($section_text['XFAIL'])) { @@ -2695,10 +2697,6 @@ COMMAND $cmd $restype[] = 'WARN'; } - if ($passed) { - @unlink($tmp_post); - } - if (!$passed) { if (isset($section_text['XFAIL'])) { $restype[] = 'XFAIL'; |
