From 20057aee2e5b18e443b8324cfc5cd16941b0e3eb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Aug 2004 09:23:40 +0000 Subject: [PATCH] prevent files named ".nfs[something]" from being displayed when failing --- tests/runtests.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/runtests.pl b/tests/runtests.pl index 18b7e83ef..0f95b3f19 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1653,6 +1653,9 @@ sub displaylogs { foreach $log (sort @logs) { # the log file is not "." or ".." and contains more than zero bytes if(($log !~ /\.(\.|)$/) && -s "$LOGDIR/$log") { + if($log =~ /^\.nfs/) { + next; + } print "== Start of file $log\n"; displaylogcontent("$LOGDIR/$log"); print "== End of file $log\n";