]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: adjust recent change to csplit VM limit
authorPádraig Brady <P@draigBrady.com>
Mon, 19 Oct 2015 10:25:42 +0000 (11:25 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Oct 2015 10:25:42 +0000 (11:25 +0100)
* tests/misc/csplit-heap.sh: A little more memory is required
for the full run case.  Noticed with --enable-single-binary.

tests/misc/csplit-heap.sh

index 0ffe70ad42ec0f804b04e4e60bc7ec5f9cea95bf..df8ce70a8f0474dc55c3150599a98eaae4e1b6a5 100755 (executable)
@@ -25,7 +25,7 @@ vm=$(get_min_ulimit_v_ csplit -z f %n%1) \
   || skip_ "this shell lacks ulimit support"
 
 (
- ulimit -v $vm \
+ ulimit -v $(($vm + 1000)) \
    && { yes | head -n2500000; echo n; } | csplit -z - %n%1
 ) || fail=1