ignore the memdump file when showing files after a failure

This commit is contained in:
Daniel Stenberg 2005-04-22 20:47:35 +00:00
parent e8e43f06af
commit f0057977b7
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}