From: Daniel Stenberg Date: Tue, 24 Aug 2004 09:23:40 +0000 (+0000) Subject: prevent files named ".nfs[something]" from being displayed when failing X-Git-Tag: curl-7_12_2~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20057aee2e5b18e443b8324cfc5cd16941b0e3eb;p=thirdparty%2Fcurl.git prevent files named ".nfs[something]" from being displayed when failing --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 18b7e83ef0..0f95b3f19c 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";