From 9ccabd8df36703ab3abf09464f7514736b18fe80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Tue, 8 Apr 2025 16:07:06 +0100 Subject: [PATCH] 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. --- tests/csplit/csplit-heap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3