From: Pádraig Brady
Date: Tue, 8 Apr 2025 15:07:06 +0000 (+0100) Subject: tests: adjust csplit VM limit for CheriBSD X-Git-Tag: v9.7~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ccabd8df36703ab3abf09464f7514736b18fe80;p=thirdparty%2Fcoreutils.git tests: adjust csplit VM limit for CheriBSD * tests/misc/csplit-heap.sh: More memory is required to avoid a false failure on CheriBSD with its heap accounting overhead. This is confirmed to still trigger with the original memory leak being tested. --- diff --git a/tests/csplit/csplit-heap.sh b/tests/csplit/csplit-heap.sh index 8a68211814..2a38789dcb 100755 --- a/tests/csplit/csplit-heap.sh +++ b/tests/csplit/csplit-heap.sh @@ -25,7 +25,7 @@ vm=$(get_min_ulimit_v_ csplit -z f %n%1) \ || skip_ 'shell lacks ulimit, or ASAN enabled' ( - ulimit -v $(($vm + 4000)) \ + ulimit -v $(($vm + 40000)) \ && { yes | head -n2500000; echo n; } | csplit -z - %n%1 ) || fail=1