diff options
author | Pádraig Brady <P@draigBrady.com> | 2023-03-30 14:28:03 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2023-03-31 11:58:53 +0100 |
commit | 5e170ff0b842df5c40fac9095e7c72ddc1517e2a (patch) | |
tree | 212e703e0c265f20a1906d6497c93e88aad70045 | |
parent | 7ad749886cddc76860bd8cfc38a408032a5e4c99 (diff) | |
download | coreutils-5e170ff0b842df5c40fac9095e7c72ddc1517e2a.tar.gz |
tests: adjust csplit VM limit
* tests/misc/csplit-heap.sh: More memory is required to avoid
a false failure on some systems. Noticed with musl libc
with bash as the shell. This is confirmed to still easily
trigger with the original memory leak being tested.
Addresses https://bugs.gnu.org/62542
-rwxr-xr-x | tests/misc/csplit-heap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/csplit-heap.sh b/tests/misc/csplit-heap.sh index 2ba3c4500..36b286b93 100755 --- a/tests/misc/csplit-heap.sh +++ b/tests/misc/csplit-heap.sh @@ -25,7 +25,7 @@ vm=$(get_min_ulimit_v_ csplit -z f %n%1) \ || skip_ "this shell lacks ulimit support" ( - ulimit -v $(($vm + 1000)) \ + ulimit -v $(($vm + 4000)) \ && { yes | head -n2500000; echo n; } | csplit -z - %n%1 ) || fail=1 |