From: Stefano Lattarini Date: Tue, 13 Sep 2011 13:21:13 +0000 (+0200) Subject: tests: an explicative comment on signal-related woes X-Git-Tag: ng-0.5a~89^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba5dc71d28e5ceed0486f73c3e9f4c4c2470e1b;p=thirdparty%2Fautomake.git tests: an explicative comment on signal-related woes * tests/self-check-exit.tap: Add pointer to a bug-autoconf discussion explaining why this test needs to temporarily block SIGINT. --- diff --git a/ChangeLog b/ChangeLog index 909b33772..8c9615b6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-13 Stefano Lattarini + + tests: an explicative comment on signal-related woes + * tests/self-check-exit.tap: Add pointer to a bug-autoconf + discussion explaining why this test needs to temporarily block + SIGINT. + 2011-09-13 Stefano Lattarini tests: also trap SIGQUIT; other fixes diff --git a/tests/self-check-exit.tap b/tests/self-check-exit.tap index 563500b2e..5ac8b8f0e 100755 --- a/tests/self-check-exit.tap +++ b/tests/self-check-exit.tap @@ -46,8 +46,9 @@ for sig in 1 2 13 15; do continue fi if test $sig -eq 2; then - # Some Korn shells might otherwise get a spurious SIGINT - # signal when one is sent to the child $SHELL. + # Some Korn shells might otherwise get a spurious SIGINT signal when + # one is sent to the child $SHELL. For more details, see: + # trap : 2 fi $SHELL -c "$init; kill -$sig \$\$; :"