]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: adjust csplit VM limit for CheriBSD
authorPádraig Brady <P@draigBrady.com>
Tue, 8 Apr 2025 15:07:06 +0000 (16:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 8 Apr 2025 15:07:06 +0000 (16:07 +0100)
* 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.

tests/csplit/csplit-heap.sh

index 8a68211814a5a3ca28353650a6d88c9326cf3b78..2a38789dcb67401dfd373b4d9eefe62eb100e811 100755 (executable)
@@ -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