summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r--regress/lib/libpthread/signals/ignore_sigchild/ignore_sigchild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libpthread/signals/ignore_sigchild/ignore_sigchild.c b/regress/lib/libpthread/signals/ignore_sigchild/ignore_sigchild.c
index d858bb9241b..c08f38ccc38 100644
--- a/regress/lib/libpthread/signals/ignore_sigchild/ignore_sigchild.c
+++ b/regress/lib/libpthread/signals/ignore_sigchild/ignore_sigchild.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ignore_sigchild.c,v 1.1 2011/10/09 23:46:50 fgsch Exp $ */
+/* $OpenBSD: ignore_sigchild.c,v 1.2 2011/10/10 08:21:06 fgsch Exp $ */
/*
* Federico G. Schwindt <fgsch@openbsd.org>, 2011. Public Domain.
*/
@@ -26,6 +26,7 @@ main(int argc, char **argv)
break;
}
+ CHECKe(alarm(2));
ASSERT(wait(&status) == -1);
ASSERT(errno == ECHILD);
SUCCEED;