From f0057977b76b59bfc93ad438072bc890927881dc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 22 Apr 2005 20:47:35 +0000 Subject: [PATCH] ignore the memdump file when showing files after a failure --- tests/runtests.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 4a56a9a87..42f769885 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1933,7 +1933,9 @@ sub displaylogs { print "== Contents of files in the log/ dir after test $testnum\n"; foreach $log (sort @logs) { # the log file is not "." or ".." and contains more than zero bytes - if(($log !~ /\.(\.|)$/) && -s "$LOGDIR/$log") { + if(($log !~ /\.(\.|)$/) && + ($log ne "memdump") && # and not "memdump" + -s "$LOGDIR/$log") { if($log =~ /^\.nfs/) { next; }