diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-03-31 00:30:13 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2023-04-01 21:20:00 -0500 |
commit | 3a2b5420c965d86ea5861036adde8bdcdb8fb471 (patch) | |
tree | 2440b565bcb62d2127eaaa70c384166615c90d52 /system/coreutils/csplit-vm-test.patch | |
parent | 7c97598cf01499e2c2082b3f61a9ad060b536277 (diff) | |
download | packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.gz packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.bz2 packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.tar.xz packages-3a2b5420c965d86ea5861036adde8bdcdb8fb471.zip |
system/coreutils: Update to 9.2
Fixes: #787
Diffstat (limited to 'system/coreutils/csplit-vm-test.patch')
-rw-r--r-- | system/coreutils/csplit-vm-test.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/system/coreutils/csplit-vm-test.patch b/system/coreutils/csplit-vm-test.patch new file mode 100644 index 000000000..da2e1ad15 --- /dev/null +++ b/system/coreutils/csplit-vm-test.patch @@ -0,0 +1,30 @@ +From aa99b99f0cc03fac8a7db00b6aec8887756a499c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com> +Date: Thu, 30 Mar 2023 14:28:03 +0100 +Subject: [PATCH] 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 +--- + tests/misc/csplit-heap.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 + +-- +2.26.2 + |