diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-11-19 20:58:18 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-11-19 20:58:18 +0000 |
commit | b9acff7b379be7a2e40ddcfb4b6eafe80e884164 (patch) | |
tree | f675e97c5e57801ea3994acae0d618dae8cdd7d6 /test | |
parent | a4ecb6a7b70372f965a3f496a79c8e70d9c25d5d (diff) |
Testsuite: fix for not-previously-existing logfile
Diffstat (limited to 'test')
-rwxr-xr-x | test/runtest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/runtest b/test/runtest index 1fd233286..088c742be 100755 --- a/test/runtest +++ b/test/runtest @@ -3386,7 +3386,8 @@ for ($i = 0; $i < @test_dirs; $i++) # Scan for relevant tests -tests_exit(-1, "Failed to unlink $log_summary_filename") if !unlink($log_summary_filename); +tests_exit(-1, "Failed to unlink $log_summary_filename") + if (-e $log_summary_filename && !unlink($log_summary_filename)); for ($i = 0; $i < @test_dirs; $i++) { my($testdir) = $test_dirs[$i]; |