1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-11 01:42:17 +02:00

tests: avoid false failure due to ulimit on aarch64

* tests/cut/cut-huge-range.sh: Add an extra 1MiB headroom,
which was seen with aarch64.
Reported at https://bugzilla.redhat.com/2424302
This commit is contained in:
Pádraig Brady
2025-12-22 17:12:48 +00:00
parent e34734cdf9
commit 95044cb5ea

View File

@@ -22,6 +22,7 @@ getlimits_
vm=$(get_min_ulimit_v_ returns_ 0 cut -b1 /dev/null) \
|| skip_ 'shell lacks ulimit, or ASAN enabled'
vm=$(($vm+1000)) # https://bugzilla.redhat.com/2424302
# Ensure we can cut up to our sentinel value.
CUT_MAX=$(expr $UINTMAX_MAX - 1) || framework_failure_