]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid false ulimit failure on some systems
authorLudovic Courtès <ludo@gnu.org>
Tue, 28 Mar 2017 03:34:39 +0000 (20:34 -0700)
committerPádraig Brady <P@draigBrady.com>
Tue, 28 Mar 2017 04:23:07 +0000 (21:23 -0700)
commitf5422009389678680dba9ff4ecb7d33632ee3383
tree6dbbe4db4be4e0656859395d6438719b8a429d1c
parenta5239412c1a76f389ace92add34a3e539db255c4
tests: avoid false ulimit failure on some systems

* tests/misc/cut-huge-range.sh: On some systems returns_ may
use more memory, so incorporate that in the determination
of the ulimit value to use.  Noticed on ARMv7 with bash-4.4.12,
and x86_64 with bash-4.2.37.
Fixes http://bugs.gnu.org/26253
tests/misc/cut-huge-range.sh