summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-19 22:44:55 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-19 22:44:55 +0000
commit43603c562043ca8c5a8e31475e33290ecfc07f21 (patch)
treed3de1ead75182acd5685f3da9df7791f1e1d61dc /regress
parentd04aa94cd8a6ef7ea8bd28e657a6874c6410592e (diff)
WTRAPPED is now supported by waitid(2)
Don't test waitid(WUNTRACED) as that's not portable and only 'works' due to an implementation decision
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libc/sys/t_wait_noproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libc/sys/t_wait_noproc.c b/regress/lib/libc/sys/t_wait_noproc.c
index e5137a3ea90..8d408041c5b 100644
--- a/regress/lib/libc/sys/t_wait_noproc.c
+++ b/regress/lib/libc/sys/t_wait_noproc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t_wait_noproc.c,v 1.3 2022/10/26 23:18:01 kettenis Exp $ */
+/* $OpenBSD: t_wait_noproc.c,v 1.4 2022/12/19 22:44:54 guenther Exp $ */
/* $NetBSD: t_wait_noproc.c,v 1.5 2016/11/09 17:50:19 kamil Exp $ */
/*-
@@ -145,11 +145,11 @@ get_options6(size_t pos)
const int matrix[] = {
WNOWAIT, // First in order to blacklist it easily
WEXITED,
+#ifndef __OpenBSD__
WUNTRACED,
+#endif
WSTOPPED, // SUS compatibility, equal to WUNTRACED
-#ifndef __OpenBSD__
WTRAPPED,
-#endif
WCONTINUED
};