mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user