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:
Pádraig Brady
2025-04-08 16:07:06 +01:00
parent 7007c018de
commit 9ccabd8df3

View File

@@ -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