From: Jeremy Harris Date: Sat, 19 Nov 2016 20:58:18 +0000 (+0000) Subject: Testsuite: fix for not-previously-existing logfile X-Git-Tag: exim-4_88_RC6~29 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b9acff7b379be7a2e40ddcfb4b6eafe80e884164;p=exim.git Testsuite: fix for not-previously-existing logfile --- 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];