summaryrefslogtreecommitdiff
path: root/tests/misc/cut-huge-range.sh
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-10-08 03:41:07 +0100
committerPádraig Brady <P@draigBrady.com>2015-10-08 03:54:02 +0100
commitc1dba59a79249f8e9f546fd3453da32a17ccaeb1 (patch)
tree4b8c9065e6fc47ca93e2ad273752f0c35f5c2f57 /tests/misc/cut-huge-range.sh
parentce501787d45273ecea560a6a0c3fed1e415b88eb (diff)
downloadcoreutils-c1dba59a79249f8e9f546fd3453da32a17ccaeb1.tar.xz
tests: adjust recent changes to virtual memory limits
* tests/dd/no-allocate.sh: Account for timeout(1) when determining the required mem, as timeout has additional shared libs. This avoids the need for the hardcoded 4M addition to the limit. * tests/misc/head-c.sh: Increase the base limit, to account for the fact that head(1) will allocate some additional mem in this case. * tests/misc/cut-huge-range.sh: Remove mention of specific limits. * tests/misc/printf-surprise.sh: Likewise. Reported by Dmitry V. Levin
Diffstat (limited to 'tests/misc/cut-huge-range.sh')
-rwxr-xr-xtests/misc/cut-huge-range.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/cut-huge-range.sh b/tests/misc/cut-huge-range.sh
index 4df2fc066..633ca8572 100755
--- a/tests/misc/cut-huge-range.sh
+++ b/tests/misc/cut-huge-range.sh
@@ -50,7 +50,7 @@ subtract_one='
CUT_MAX=$(echo $SIZE_MAX | sed "$subtract_one")
# From coreutils-8.10 through 8.20, this would make cut try to allocate
-# a 256MiB bit vector. With a 20MB limit on VM, the following would fail.
+# a 256MiB bit vector.
(ulimit -v $vm && : | cut -b$CUT_MAX- > err 2>&1) || fail=1
# Up to and including coreutils-8.21, cut would allocate possibly needed