[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI 3/4] {testsuite-work} tests: an explicative comment on signal-relat
From: |
Stefano Lattarini |
Subject: |
[FYI 3/4] {testsuite-work} tests: an explicative comment on signal-related woes |
Date: |
Tue, 13 Sep 2011 16:19:40 +0200 |
* 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 909b337..8c9615b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-09-13 Stefano Lattarini <address@hidden>
+ 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 <address@hidden>
+
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,
diff --git a/tests/self-check-exit.tap b/tests/self-check-exit.tap
index 563500b..5ac8b8f 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:
+ # <http://lists.gnu.org/archive/html/bug-autoconf/2011-09/msg00004.html>
trap : 2
fi
$SHELL -c "$init; kill -$sig \$\$; :"
--
1.7.2.3