]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: avoid slow ulimit -v behavior
authorPádraig Brady <P@draigBrady.com>
Wed, 15 Jan 2025 15:13:00 +0000 (15:13 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 15 Jan 2025 17:07:13 +0000 (17:07 +0000)
commit61d4935802e706bd32387bf052b89286c754e2ae
tree29fb67b64eb87d2b0fa16781b6db5fe5a135cab8
parentc12baacddcc7f5e9c31b4e49e486e05d50a7894e
tests: avoid slow ulimit -v behavior

* init.cfg (ulimit_supported_): skip_ if the ulimit -v
takes too long, which was seen with bash 5.2 on Solaris 11,
where fork() returned EAGAIN under memory constraints,
and bash retried for about 16 seconds.
(get_min_ulimit_v_): Break early if skipped.
* tests/misc/write-errors.sh: Be more conservative and
skip on failure to determine min ulimit.
init.cfg
tests/misc/write-errors.sh