]> git.ipfire.org Git - thirdparty/automake.git/commit
testsuite: fix weird spurious failure with Solaris /bin/sh
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 7 Aug 2011 21:48:02 +0000 (23:48 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 7 Aug 2011 21:48:02 +0000 (23:48 +0200)
commit0ef3ef52079a967a4ef15968fb2054f1b215e7fb
tree1413a39edb58c10c94d0fdc7b60f8d3a7548b0ef
parent1072f686df5bb1035620af4a22007feb290d1f12
testsuite: fix weird spurious failure with Solaris /bin/sh

Solaris /bin/sh, when killed with a SIGTERM or SIGINT signal, can
apparently end up exiting with exit status 208, instead of leaving
the correct wide exit status to the parent.  See:
 <http://dbaspot.com/shell/396118-bourne-shell-exit-code-term.html>
Work around this incompatibility.

* tap-signal.test: Look for the above Solaris bug.
(signal_caught): Adapt to handle it.
ChangeLog
tests/tap-signal.test