From 96294df02a613b931b2932f156f406831cda81b9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Jul 2025 16:59:36 +0200 Subject: [PATCH] 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 --- tests/data/test518 | 3 +++ tests/data/test537 | 3 +++ tests/runtests.pl | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.47.2