]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
runtests: consistently write the test check summary block
authorDan Fandrich <dan@coneharvesters.com>
Wed, 21 Jun 2023 19:39:51 +0000 (12:39 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Wed, 21 Jun 2023 19:39:51 +0000 (12:39 -0700)
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.

tests/runtests.pl

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