2004-08-11 Roland McGrath <roland@redhat.com>

* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
This commit is contained in:
Roland McGrath 2004-08-11 19:29:35 +00:00
parent 640b76b7dc
commit 475444485b
1 changed files with 1 additions and 0 deletions

View 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;
}