tests: avoid intermittent ulimit -v failures
commitcd6e49ced86a1aa2a03de7f698426311e2767e76
authorPádraig Brady <P@draigBrady.com>
Wed, 16 Dec 2015 02:07:56 +0000 (16 02:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 17 Dec 2015 00:25:49 +0000 (17 00:25 +0000)
treed9cd896ecbe86ca043035e345dcafd0e459bdb9f
parent896006bf7620c81435fd67cc3765e85a9f480fe7
tests: avoid intermittent ulimit -v failures

* init.cfg (get_min_ulimit_v_): Increase the determined
virtual memory limit for the command by a page size
to avoid alignment issues causing false failures for
subsequent runs.
* tests/misc/cut-huge-range.sh: Be defensive and match
the cut invocations under test, more closely with the
form used to determine the VM memory limit.

This was noticed on i686 linux at:
http://hydra.nixos.org/build/28990456
init.cfg
tests/misc/cut-huge-range.sh