From: Pádraig Brady
Date: Mon, 22 Dec 2025 17:12:48 +0000 (+0000) Subject: tests: avoid false failure due to ulimit on aarch64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95044cb5eaea83d02f768feb5ab79fcf5e6ad782;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/tests/cut/cut-huge-range.sh b/tests/cut/cut-huge-range.sh index 4bd1b129d8..98d7e8f0b9 100755 --- a/tests/cut/cut-huge-range.sh +++ b/tests/cut/cut-huge-range.sh @@ -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_