From: Assaf Gordon Date: Mon, 18 Jan 2016 18:16:35 +0000 (+0000) Subject: tests: adjust memory limits in head-c.sh X-Git-Tag: v8.25~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e96050b76e4539ad4981693f9694b07eeab3d7d;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/misc/head-c.sh b/tests/misc/head-c.sh index cc544f9789..abe9fef84c 100755 --- a/tests/misc/head-c.sh +++ b/tests/misc/head-c.sh @@ -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.