Commit f0057977 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ignore the memdump file when showing files after a failure

parent e8e43f06
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
            }