From b9acff7b379be7a2e40ddcfb4b6eafe80e884164 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 19 Nov 2016 20:58:18 +0000 Subject: [PATCH] Testsuite: fix for not-previously-existing logfile --- test/runtest | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]; -- 2.25.1