tests: remove obsolete uses of $sh_errexit_works
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 28 Dec 2011 12:23:31 +0000 (13:23 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 7 May 2012 20:08:37 +0000 (22:08 +0200)
commit6b641de5fc4ecf679d77a7542f83b1d04402c798
treeee8af6bb95a5f25eaf8893ab02905330d6386760
parent2d68fd9b481762a31847cf412fedb68decf6e8fd
tests: remove obsolete uses of $sh_errexit_works

After the last changes, configure will ensure that the shell
selected to run the test scripts can correctly propagate exit
status to the exit trap when 'set -e' is in effect.

* configure.ac (sh_errexit_works): Do not AC_SUBST it anymore.
* defs-static.in (sh_errexit_works): Do not initialize
from the AC_SUBST value anymore.
* defs (trap): Trap the EXIT signal unconditionally.
* t/self-check-explicit-skips.sh: Do not skip the test if
'$sh_errexit_works' is != "yes", this check doesn't make
sense anymore.
* t/self-check-cleanup.tap: Likewise.
* t/self-check-exit.tap: Assume the exit trap is always
installed by ./defs.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
configure.ac
defs
defs-static.in
t/self-check-cleanup.tap
t/self-check-exit.tap
t/self-check-explicit-skips.sh