From 8ba5dc71d28e5ceed0486f73c3e9f4c4c2470e1b Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 13 Sep 2011 15:21:13 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ tests/self-check-exit.tap | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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 \$\$; :" -- 2.47.2