This patch series is intended to be the starting point of a set of changes that will allow us to assume a decent POSIX shell in the automake testsuite.
I've pushed the series to a new public branch `testsuite-saner-shell', to be eventually merged into `testsuite-work'. I'd consider the branch rewindable for now (at least until we will merge `testsuite-work' back into it), so don't be afraid to send reviews requiring an amending of the patches pushed so far. My long-term hope is that most of the changes in this new branch will turn out to be useful and generic enough to be eventually extracted and generalized, and find their way into gnulib (or some similar project). As usual, reviews and comments are welcome. Stefano Lattarini (4): tests: shell running test scripts is now named AM_TEST_RUNNER_SHELL configure: search a sturdy POSIX shell to be used in the testsuite tests: remove obsolete uses of $sh_errexit_works test defs: fix indentation (cosmetic change) ChangeLog | 54 ++++++ Makefile.in | 2 +- configure | 350 ++++++++++++++++++++++++++++++++-- configure.ac | 186 +++++++++++++++++-- doc/Makefile.in | 2 +- lib/Automake/Makefile.in | 2 +- lib/Automake/tests/Makefile.in | 2 +- lib/Makefile.in | 2 +- lib/am/Makefile.in | 2 +- m4/Makefile.in | 2 +- tests/Makefile.am | 6 +- tests/Makefile.in | 8 +- tests/defs | 136 +++++++------- tests/defs-static.in | 11 +- tests/self-check-cleanup.tap | 18 +- tests/self-check-dir.tap | 9 +- tests/self-check-env-sanitize.tap | 4 +- tests/self-check-exit.tap | 33 ++-- tests/self-check-explicit-skips.test | 17 +- tests/self-check-me.tap | 7 +- tests/self-check-reexec.tap | 18 ++- tests/self-check-sanity.test | 8 +- tests/self-check-tap.test | 16 +- 23 files changed, 708 insertions(+), 187 deletions(-) -- 1.7.2.3