aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-04-22 20:47:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-04-22 20:47:35 +0000
commitf0057977b76b59bfc93ad438072bc890927881dc (patch)
tree8b2e284fda825223b7bcdbfe1cbfb095924fd6fa
parente8e43f06af41c2f87fc384763e282d3a05e29933 (diff)
ignore the memdump file when showing files after a failure
-rwxr-xr-xtests/runtests.pl4
1 files changed, 3 insertions, 1 deletions
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;
}