]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
The sigkill regression test no longer attempts to set signal handlers for the signal...
authorBart Van Assche <bvanassche@acm.org>
Sun, 27 Apr 2008 06:14:06 +0000 (06:14 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 27 Apr 2008 06:14:06 +0000 (06:14 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7931

memcheck/tests/sigkill.c
memcheck/tests/sigkill.stderr.exp

index 8a757f90b78964350d854f40c732a967e7c62736..10b87dd69e1719e4251ef92a7a5fb5bc1883cdcf 100644 (file)
@@ -19,10 +19,13 @@ main (void)
   int i;
   int rc;
   for (i = 1; i <= 65; i++) {
+     // Skip signals 32 and 33, since these are used by LinuxThreads. Some
+     // glibc versions do not invoke the sigaction system call for these
+     // signals.
      // skip signals 63 and 64: some systems say "warning, ignored attempt
      // to catch 32 because it's used internally by Valgrind", others say
      // "invalid argument".
-     if (i == 63 || i == 64) {
+     if (i == 32 || i == 33 || i == 63 || i == 64) {
         continue;       
      }                  // different systems
      sa.sa_flags   = 0;
index 2f1c7546d9f67c12d97f4e373ee69421cea3859d..5d209b03ba4656199c0362bcb53c44b5dcca0fe4 100644 (file)
@@ -96,12 +96,6 @@ getting signal 30: Success
 setting signal 31: Success
 getting signal 31: Success
 
-setting signal 32: Success
-getting signal 32: Success
-
-setting signal 33: Success
-getting signal 33: Success
-
 setting signal 34: Success
 getting signal 34: Success