diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-08 03:41:07 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-08 03:54:02 +0100 |
commit | c1dba59a79249f8e9f546fd3453da32a17ccaeb1 (patch) | |
tree | 4b8c9065e6fc47ca93e2ad273752f0c35f5c2f57 /tests/misc/printf-surprise.sh | |
parent | ce501787d45273ecea560a6a0c3fed1e415b88eb (diff) | |
download | coreutils-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/printf-surprise.sh')
-rwxr-xr-x | tests/misc/printf-surprise.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/misc/printf-surprise.sh b/tests/misc/printf-surprise.sh index 8480693fc..f098bc13d 100755 --- a/tests/misc/printf-surprise.sh +++ b/tests/misc/printf-surprise.sh @@ -59,8 +59,7 @@ cleanup_() { kill $pid 2>/dev/null && wait $pid; } head -c 10 fifo > out & pid=$! -# Choosing the virtual memory limit, 11000 is enough, but 10000 is too -# little and provokes a "memory exhausted" diagnostic on FreeBSD 9.0-p3. +# Trigger large mem allocation failure ( ulimit -v $vm && env $prog %20000000f 0 2>err-msg > fifo ) exit=$? |