From a2b4391a1d5709df452dffd000a09f4590e646f5 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 13 Oct 2023 20:24:08 -0700 Subject: [PATCH] test613: stop showing an error on missing output file This test would show an error message if the output was missing during the log post-processing step, but the message was not captured by the test harness and wasn't useful since the normal golden log file comparison would the problem more clearly. --- tests/libtest/test613.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/test613.pl b/tests/libtest/test613.pl index 3ad7805af0..dee3b17543 100755 --- a/tests/libtest/test613.pl +++ b/tests/libtest/test613.pl @@ -81,7 +81,7 @@ elsif ($ARGV[0] eq "postprocess") rmdir $dirname || die "$!"; - if ($logfile) { + if ($logfile && -s $logfile) { # Process the directory file to remove all information that # could be inconsistent from one test run to the next (e.g. # file date) or may be unsupported on some platforms (e.g. -- 2.47.3