From: Daniel Stenberg Date: Sun, 13 Jul 2025 14:59:36 +0000 (+0200) Subject: tests: raise two memory limits X-Git-Tag: curl-8_15_0~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96294df02a613b931b2932f156f406831cda81b9;p=thirdparty%2Fcurl.git tests: raise two memory limits Runing the tests locally without valgrind test 518 and 537 would run over their limits. Plus init a variable in runtests.pl to avoid a warning output. Closes #17919 --- diff --git a/tests/data/test518 b/tests/data/test518 index 05a809bf32..acc4319dd3 100644 --- a/tests/data/test518 +++ b/tests/data/test518 @@ -63,5 +63,8 @@ Accept: */* disable + +Maximum allocated: 1100000 + diff --git a/tests/data/test537 b/tests/data/test537 index 79678c38e9..7ef864443f 100644 --- a/tests/data/test537 +++ b/tests/data/test537 @@ -60,5 +60,8 @@ Host: %HOSTIP:%HTTPPORT Accept: */* + +Maximum allocated: 3200000 + diff --git a/tests/runtests.pl b/tests/runtests.pl index 70aee2a07d..184483f807 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1700,7 +1700,7 @@ sub singletest_check { } my @more=`$memanalyze -v "$logdir/$MEMDUMP"`; my $allocs; - my $max; + my $max = 0; for(@more) { if(/^Allocations: (\d+)/) { $allocs = $1;