]> granicus.if.org Git - curl/commitdiff
prevent files named ".nfs[something]" from being displayed when failing
authorDaniel Stenberg <daniel@haxx.se>
Tue, 24 Aug 2004 09:23:40 +0000 (09:23 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 24 Aug 2004 09:23:40 +0000 (09:23 +0000)
tests/runtests.pl

index 18b7e83ef09f414364410a949273728fa4921eb3..0f95b3f19cc891987b98c9d6387935fb77365905 100755 (executable)
@@ -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";