aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2025-09-20 16:10:16 +0100
committerPádraig Brady <P@draigBrady.com>2025-09-20 16:17:43 +0100
commit7c217bd8accc08ea47fa81ab8d20822cac239281 (patch)
tree9e564ef1f006782de1d65b768c17322684710f1a
parentdoc: don't capitalize the first letter of cgroup (diff)
downloadcoreutils-7c217bd8accc08ea47fa81ab8d20822cac239281.tar.gz
coreutils-7c217bd8accc08ea47fa81ab8d20822cac239281.zip
tests: avoid false failure on CentOS 5,6,7
* tests/fold/fold-zero-width.sh: Increase vm limit to avoid failures on CentOS 5,6,7. Match the limit used in write-errors.sh as per commit v9.5-255-g0bd149403
-rwxr-xr-xtests/fold/fold-zero-width.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fold/fold-zero-width.sh b/tests/fold/fold-zero-width.sh
index f69d89f13..b876473c7 100755
--- a/tests/fold/fold-zero-width.sh
+++ b/tests/fold/fold-zero-width.sh
@@ -52,7 +52,7 @@ vm=$(get_min_ulimit_v_ fold /dev/null) && {
# \303 results in EILSEQ on input
for c in '\n' '\0' '\303'; do
tr '\0' "$c" < /dev/zero | timeout 10 $SHELL -c \
- "(ulimit -v $(($vm+8000)) && fold 2>err >/dev/full)"
+ "(ulimit -v $(($vm+12000)) && fold 2>err >/dev/full)"
{ test $? = 124 || ! grep 'space' err >/dev/null; } &&
{ fail=1; cat err; echo "fold didn't diagnose ENOSPC" >&2; }
done