From: Pádraig Brady Date: Fri, 3 Mar 2017 08:25:54 +0000 (-0800) Subject: tests: avoid a spurious failure on older debian X-Git-Tag: v8.27~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28803c8a3144d5d4363cdbd148bbe067af1a67c2;p=thirdparty%2Fcoreutils.git tests: avoid a spurious failure on older debian * tests/misc/cut-huge-range.sh: Bump up the ulimit, to avoid a false failure due hitting the previously detected ulimit. Reported by Assaf Gordon. --- diff --git a/tests/misc/cut-huge-range.sh b/tests/misc/cut-huge-range.sh index c015ac58cb..6b3c5b6edf 100755 --- a/tests/misc/cut-huge-range.sh +++ b/tests/misc/cut-huge-range.sh @@ -22,6 +22,7 @@ getlimits_ vm=$(get_min_ulimit_v_ cut -b1 /dev/null) \ || skip_ "this shell lacks ulimit support" +vm=$(($vm + 1000)) # avoid spurious failures # sed script to subtract one from the input. # Each input line should consist of a positive decimal number.