]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: use bash in some scripts to avoid false failures
authorPádraig Brady <P@draigBrady.com>
Sun, 1 Mar 2020 21:49:16 +0000 (21:49 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 1 Mar 2020 22:02:39 +0000 (22:02 +0000)
commit04e2b9b1a637ea138331a1b6a6b11849368d3467
tree72a36ad0dd5626929a673cd2a444d5a91f74e5fa
parent5cdab9f26b4167d49a9f63dd343c2f8a14aa3070
tests: use bash in some scripts to avoid false failures

* init.cfg (require_bash_as_SHELL_): A new function to replace
SHELL for the current test, with bash if available.
This is useful on OpenIndiana 11 where /bin/sh was seen
to have races in handling of SIGPIPE.
* tests/misc/seq-epipe.sh: Use the new function to enforce bash.
* tests/misc/env-signal-handler.sh: Likewise.
Reported by Bruno Haible
init.cfg
tests/misc/env-signal-handler.sh
tests/misc/seq-epipe.sh