summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys
diff options
context:
space:
mode:
authorguenther <>2022-12-19 22:44:54 +0000
committerguenther <>2022-12-19 22:44:54 +0000
commit613a18d3bc1ef0bcd786465088786fd3b0b14f88 (patch)
tree767e6f42edd2613e9e82312628945b75b292e4ce /src/regress/lib/libc/sys
parent144b9d5b2c211664a418aa6db89dd7dc1393659e (diff)
downloadopenbsd-613a18d3bc1ef0bcd786465088786fd3b0b14f88.tar.gz
openbsd-613a18d3bc1ef0bcd786465088786fd3b0b14f88.tar.bz2
openbsd-613a18d3bc1ef0bcd786465088786fd3b0b14f88.zip
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 'src/regress/lib/libc/sys')
-rw-r--r--src/regress/lib/libc/sys/t_wait_noproc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libc/sys/t_wait_noproc.c b/src/regress/lib/libc/sys/t_wait_noproc.c
index e5137a3ea9..8d408041c5 100644
--- a/src/regress/lib/libc/sys/t_wait_noproc.c
+++ b/src/regress/lib/libc/sys/t_wait_noproc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t_wait_noproc.c,v 1.3 2022/10/26 23:18:01 kettenis Exp $ */ 1/* $OpenBSD: t_wait_noproc.c,v 1.4 2022/12/19 22:44:54 guenther Exp $ */
2/* $NetBSD: t_wait_noproc.c,v 1.5 2016/11/09 17:50:19 kamil Exp $ */ 2/* $NetBSD: t_wait_noproc.c,v 1.5 2016/11/09 17:50:19 kamil Exp $ */
3 3
4/*- 4/*-
@@ -145,11 +145,11 @@ get_options6(size_t pos)
145 const int matrix[] = { 145 const int matrix[] = {
146 WNOWAIT, // First in order to blacklist it easily 146 WNOWAIT, // First in order to blacklist it easily
147 WEXITED, 147 WEXITED,
148#ifndef __OpenBSD__
148 WUNTRACED, 149 WUNTRACED,
150#endif
149 WSTOPPED, // SUS compatibility, equal to WUNTRACED 151 WSTOPPED, // SUS compatibility, equal to WUNTRACED
150#ifndef __OpenBSD__
151 WTRAPPED, 152 WTRAPPED,
152#endif
153 WCONTINUED 153 WCONTINUED
154 }; 154 };
155 155