aboutsummaryrefslogtreecommitdiff
path: root/posix/tst-waitid.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-08-11 19:29:35 +0000
committerRoland McGrath <roland@gnu.org>2004-08-11 19:29:35 +0000
commit475444485bcfba08f4281dff9b3f2c6211a6d691 (patch)
treed4120b624b8e4dab7cd08dc292bb6c141bc66fdc /posix/tst-waitid.c
parent640b76b7dc0bd8a5263d001b7d4f2024dafb70bb (diff)
downloadglibc-475444485bcfba08f4281dff9b3f2c6211a6d691.zip
glibc-475444485bcfba08f4281dff9b3f2c6211a6d691.tar.gz
glibc-475444485bcfba08f4281dff9b3f2c6211a6d691.tar.bz2
2004-08-11 Roland McGrath <roland@redhat.com>
* posix/tst-waitid.c (do_test): Ignore SIGCHLD before cleanup SIGKILL.
Diffstat (limited to 'posix/tst-waitid.c')
-rw-r--r--posix/tst-waitid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-waitid.c b/posix/tst-waitid.c
index 3befe1a..3e81d7a 100644
--- a/posix/tst-waitid.c
+++ b/posix/tst-waitid.c
@@ -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;
}