aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-24 09:23:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-24 09:23:40 +0000
commit20057aee2e5b18e443b8324cfc5cd16941b0e3eb (patch)
tree23793624bcf34cc28fe7a58326aef87f8faa0856
parent7119679080a9ad43340ee79d08f94387cde4622c (diff)
prevent files named ".nfs[something]" from being displayed when failing
-rwxr-xr-xtests/runtests.pl3
1 files changed, 3 insertions, 0 deletions
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";