From: Dan Fandrich Date: Sat, 14 Oct 2023 03:24:08 +0000 (-0700) Subject: test613: stop showing an error on missing output file X-Git-Tag: curl-8_5_0~250 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2b4391a1d5709df452dffd000a09f4590e646f5;p=thirdparty%2Fcurl.git 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. --- 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.