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 authored and Pádraig Brady committed 2016-01-18 18:29:47 +00:00
1 parent 3f02d93be2
commit 4e96050b76
1 file changed
+1 -1
+1 -1
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.