From: Pádraig Brady Date: Thu, 30 Mar 2023 13:28:03 +0000 (+0100) Subject: tests: adjust csplit VM limit X-Git-Tag: v9.3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e170ff0b842df5c40fac9095e7c72ddc1517e2a;p=thirdparty%2Fcoreutils.git tests: adjust csplit VM limit * tests/misc/csplit-heap.sh: More memory is required to avoid a false failure on some systems. Noticed with musl libc with bash as the shell. This is confirmed to still easily trigger with the original memory leak being tested. Addresses https://bugs.gnu.org/62542 --- diff --git a/tests/misc/csplit-heap.sh b/tests/misc/csplit-heap.sh index 2ba3c45009..36b286b930 100755 --- a/tests/misc/csplit-heap.sh +++ b/tests/misc/csplit-heap.sh @@ -25,7 +25,7 @@ vm=$(get_min_ulimit_v_ csplit -z f %n%1) \ || skip_ "this shell lacks ulimit support" ( - ulimit -v $(($vm + 1000)) \ + ulimit -v $(($vm + 4000)) \ && { yes | head -n2500000; echo n; } | csplit -z - %n%1 ) || fail=1