2004-08-11 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 11 Aug 2004 19:29:35 +0000 (19:29 +0000)
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.

posix/tst-waitid.c

index 3befe1a..3e81d7a 100644 (file)
@@ -450,6 +450,7 @@ do_test (int argc, char *argv[])
  out:
   if (spurious_sigchld)
     status = EXIT_FAILURE;
+  signal (SIGCHLD, SIG_IGN);
   kill (pid, SIGKILL);         /* Make sure it's dead if we bailed early.  */
   return status;
 }