]> granicus.if.org Git - curl/commitdiff
ignore the memdump file when showing files after a failure
authorDaniel Stenberg <daniel@haxx.se>
Fri, 22 Apr 2005 20:47:35 +0000 (20:47 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 22 Apr 2005 20:47:35 +0000 (20:47 +0000)
tests/runtests.pl

index 4a56a9a87b28b0e0a6bdd7ea6218cc0540fa5267..42f7698852e40b1893053c4e4604d977a50b03df 100755 (executable)
@@ -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;
             }