2
0
mirror of https://github.com/curl/curl.git synced 2024-12-15 06:40:09 +08:00

runtests: consistently write the test check summary block

The memory check character was erroneously omitted if the memory
checking file was not available for some reason, making the block of
characters an inconsistent length.
This commit is contained in:
Dan Fandrich 2023-06-21 12:39:51 -07:00
parent 47c04d7136
commit 69e3485e0d

View File

@ -1608,6 +1608,7 @@ sub singletest_check {
my $cmdtype = $cmdhash{'type'} || "default"; my $cmdtype = $cmdhash{'type'} || "default";
logmsg "\n** ALERT! memory tracking with no output file?\n" logmsg "\n** ALERT! memory tracking with no output file?\n"
if(!$cmdtype eq "perl"); if(!$cmdtype eq "perl");
$ok .= "-"; # problem with memory checking
} }
else { else {
my @memdata=`$memanalyze "$logdir/$MEMDUMP"`; my @memdata=`$memanalyze "$logdir/$MEMDUMP"`;