automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] * tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for sign


From: Peter Rosin
Subject: [PATCH] * tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for signal 2.
Date: Tue, 13 Sep 2011 17:09:54 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2

Hi!

Spotted a typo, and pushed this to the testsuite-work branch as obvious:

Cheers,
Peter

2011-09-13  Peter Rosin  <address@hidden>

        * tests/defs [$sh_errexit_works = yes]: Output 'SIGINT' for signal 2.

diff --git a/tests/defs b/tests/defs
index f1822c8..297e5c0 100644
--- a/tests/defs
+++ b/tests/defs
@@ -961,7 +961,7 @@ if test "$sh_errexit_works" = yes; then
     exit $exit_status
   ' 0
   trap "fatal_ 'caught signal SIGHUP'" 1
-  trap "fatal_ 'caught signal SIGINIT'" 2
+  trap "fatal_ 'caught signal SIGINT'" 2
   trap "fatal_ 'caught signal SIGTERM'" 15
   # Various shells seems to just ignore SIGQUIT under some circumstances,
   # even if the signal is not blocked; however, if the signal it trapped,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]