]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: also trap SIGQUIT; other fixes
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 13 Sep 2011 12:37:02 +0000 (14:37 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 13 Sep 2011 12:37:02 +0000 (14:37 +0200)
commit2c27ce38dae5079afd8806cccae2463dc04f9f45
tree536ce77fcb97ba4cb31739fa96d8b2af13745991
parent6321ad3100fc6a4af0c7c22463ce94bc5c76a493
tests: also trap SIGQUIT; other fixes

Some shells seems to just ignore SIGQUIT under some circumstances,
even when it is not blocked; however, if the signal it trapped,
the trap gets correctly executed.

* tests/defs [$sh_errexit_works = yes]: Also trap SIGQUIT. Add
extensive explanation of why we do so.
* tests/self-check-cleanup.tap: Improve and fix to ensure that an
earlier failure does not prevent the rest of the test to execute.
Problem revealed by a failure in `self-check-cleanup.tap'.
ChangeLog
tests/defs
tests/self-check-cleanup.tap