1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-17 04:41:59 +02:00

tests: adjust memory limits in head-c.sh

* tests/misc/head-c.sh: Further increase the limit to 8MB over
the base test command.  5.1MB was seen as minimum extra needed
on FreeBSD 9.3 x86_64.
This commit is contained in:
Assaf Gordon
2016-01-18 18:16:35 +00:00
committed by Pádraig Brady
parent 3f02d93be2
commit 4e96050b76

View File

@@ -42,7 +42,7 @@ esac
# Only allocate memory as needed.
# Coreutils <= 8.21 would allocate memory up front
# based on the value passed to -c
(ulimit -v $(($vm+4000)) && head --bytes=-$SSIZE_MAX < /dev/null) || fail=1
(ulimit -v $(($vm+8000)) && head --bytes=-$SSIZE_MAX < /dev/null) || fail=1
# Make sure it works on funny files in /proc and /sys.