mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
ignore the memdump file when showing files after a failure
This commit is contained in:
parent
e8e43f06af
commit
f0057977b7
@ -1933,7 +1933,9 @@ sub displaylogs {
|
|||||||
print "== Contents of files in the log/ dir after test $testnum\n";
|
print "== Contents of files in the log/ dir after test $testnum\n";
|
||||||
foreach $log (sort @logs) {
|
foreach $log (sort @logs) {
|
||||||
# the log file is not "." or ".." and contains more than zero bytes
|
# 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/) {
|
if($log =~ /^\.nfs/) {
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user