Home
last modified time | relevance | path

Searched refs:sta (Results 1 – 25 of 42) sorted by relevance

12

/minix/tests/lib/libc/sys/
H A Dt_kill.c56 int sta; in ATF_TC_BODY() local
75 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != sig[i]) in ATF_TC_BODY()
88 int rv, sta; in ATF_TC_BODY() local
113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
138 int sta; in ATF_TC_BODY() local
202 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) == EPERM) in ATF_TC_BODY()
205 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
219 int i, sta; in ATF_TC_BODY() local
252 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
266 int i, sta; in ATF_TC_BODY() local
[all …]
H A Dt_getlogin.c89 int sta; in ATF_TC_BODY() local
112 (void)wait(&sta); in ATF_TC_BODY()
114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
130 int sta; in ATF_TC_BODY() local
168 (void)wait(&sta); in ATF_TC_BODY()
170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
172 if (WEXITSTATUS(sta) == EFAULT) in ATF_TC_BODY()
175 if (WEXITSTATUS(sta) == EINVAL) in ATF_TC_BODY()
193 int sta; in ATF_TC_BODY() local
221 (void)wait(&sta); in ATF_TC_BODY()
[all …]
H A Dt_chroot.c55 int fd, sta; in ATF_TC_BODY() local
92 (void)wait(&sta); in ATF_TC_BODY()
94 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
143 int sta; in ATF_TC_BODY() local
164 (void)wait(&sta); in ATF_TC_BODY()
166 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
180 int fd, sta; in ATF_TC_BODY() local
215 (void)wait(&sta); in ATF_TC_BODY()
217 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
266 int fd, sta; in ATF_TC_BODY() local
[all …]
H A Dt_setrlimit.c181 int fd, sta; in ATF_TC_BODY() local
214 (void)wait(&sta); in ATF_TC_BODY()
217 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
248 int sta; in ATF_TC_BODY() local
287 (void)wait(&sta); in ATF_TC_BODY()
289 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
335 (void)wait(&sta); in ATF_TC_BODY()
337 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
396 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
411 int sta; in ATF_TC_BODY() local
[all …]
H A Dt_msgsnd.c81 int id, sta; in ATF_TC_BODY() local
107 (void)wait(&sta); in ATF_TC_BODY()
109 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0) in ATF_TC_BODY()
222 int id, rv, sta; in ATF_TC_BODY() local
245 (void)wait(&sta); in ATF_TC_BODY()
247 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY()
269 int id, sta; in ATF_TC_BODY() local
310 (void)wait(&sta); in ATF_TC_BODY()
312 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
H A Dt_mmap.c330 int sta; in ATF_TC_BODY() local
347 (void)wait(&sta); in ATF_TC_BODY()
363 int fd, sta; in ATF_TC_BODY() local
397 (void)wait(&sta); in ATF_TC_BODY()
465 int fd, sta; in ATF_TC_BODY() local
478 sta = 0; in ATF_TC_BODY()
480 sta += map[i]; in ATF_TC_BODY()
490 sta = 0; in ATF_TC_BODY()
492 sta += map[i]; in ATF_TC_BODY()
497 ATF_REQUIRE(sta == 0); in ATF_TC_BODY()
[all …]
H A Dt_mkfifo.c75 int sta, fd = -1; in ATF_TC_BODY() local
101 (void)wait(&sta); in ATF_TC_BODY()
103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
161 int fd, sta; in ATF_TC_BODY() local
193 (void)wait(&sta); in ATF_TC_BODY()
195 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
H A Dt_mprotect.c177 int sta, xp_support; in ATF_TC_BODY() local
225 (void)wait(&sta); in ATF_TC_BODY()
229 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY()
234 if (WEXITSTATUS(sta) != SIGSEGV) { in ATF_TC_BODY()
241 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
319 int sta; in ATF_TC_BODY() local
340 (void)wait(&sta); in ATF_TC_BODY()
342 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY()
343 ATF_REQUIRE(WEXITSTATUS(sta) == SIGSEGV); in ATF_TC_BODY()
H A Dt_msgrcv.c111 int id, sta; in ATF_TC_BODY() local
136 (void)wait(&sta); in ATF_TC_BODY()
138 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY()
248 int id, sta; in ATF_TC_BODY() local
279 (void)wait(&sta); in ATF_TC_BODY()
281 if (WIFSIGNALED(sta) != 0 || WTERMSIG(sta) == SIGKILL) in ATF_TC_BODY()
284 if (WIFEXITED(sta) == 0 && WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_getsid.c83 int sta; in ATF_TC_BODY() local
105 (void)wait(&sta); in ATF_TC_BODY()
107 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_setuid.c83 int rv, sta; in ATF_TC_BODY() local
107 (void)wait(&sta); in ATF_TC_BODY()
109 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_getpid.c62 int i, sta; in ATF_TC_BODY() local
88 wpid = wait(&sta); in ATF_TC_BODY()
93 ATF_REQUIRE(WIFEXITED(sta) != 0); in ATF_TC_BODY()
95 if (WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_issetugid.c49 int sta; in check() local
75 (void)wait(&sta); in check()
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in check()
H A Dt_msgctl.c117 int sta; in ATF_TC_BODY() local
164 (void)wait(&sta); in ATF_TC_BODY()
166 if (WIFEXITED(sta) == 0) { in ATF_TC_BODY()
168 if (WEXITSTATUS(sta) == EX_OSERR) in ATF_TC_BODY()
171 if (WEXITSTATUS(sta) == EXIT_FAILURE) in ATF_TC_BODY()
194 int id, sta; in ATF_TC_BODY() local
211 (void)wait(&sta); in ATF_TC_BODY()
231 (void)wait(&sta); in ATF_TC_BODY()
H A Dt_getgroups.c101 int i, n, rv, sta; in ATF_TC_BODY() local
126 (void)wait(&sta); in ATF_TC_BODY()
128 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_mkdir.c115 int sta; in ATF_TC_BODY() local
140 (void)wait(&sta); in ATF_TC_BODY()
142 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_nanosleep.c136 int sta; in ATF_TC_BODY() local
173 (void)wait(&sta); in ATF_TC_BODY()
175 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
/minix/tests/lib/libc/stdlib/
H A Dt_exit.c60 int sta; in ATF_TC_BODY() local
75 (void)wait(&sta); in ATF_TC_BODY()
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
93 int sta; in ATF_TC_BODY() local
103 (void)wait(&sta); in ATF_TC_BODY()
105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
118 int i, sta; in ATF_TC_BODY() local
133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i) in ATF_TC_BODY()
146 int sta, fd = -1; in ATF_TC_BODY() local
166 (void)wait(&sta); in ATF_TC_BODY()
[all …]
/minix/tests/lib/libc/gen/
H A Dt_assert.c61 int sta; in ATF_TC_BODY() local
82 (void)wait(&sta); in ATF_TC_BODY()
84 if (WIFSIGNALED(sta) != 0 || WIFEXITED(sta) == 0) in ATF_TC_BODY()
98 int sta; in ATF_TC_BODY() local
119 (void)wait(&sta); in ATF_TC_BODY()
121 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGABRT) in ATF_TC_BODY()
H A Dt_pause.c80 int sta; in ATF_TC_BODY() local
101 (void)wait(&sta); in ATF_TC_BODY()
103 if (WIFSIGNALED(sta) == 0 || WTERMSIG(sta) != SIGKILL) in ATF_TC_BODY()
H A Dt_alarm.c82 int sta; in ATF_TC_BODY() local
104 (void)wait(&sta); in ATF_TC_BODY()
106 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_getgrent.c127 int rv, sta; in ATF_TC_BODY() local
162 (void)wait(&sta); in ATF_TC_BODY()
164 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
H A Dt_closefrom.c141 int sta; in ATF_TC_BODY() local
155 (void)wait(&sta); in ATF_TC_BODY()
160 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != 0) in ATF_TC_BODY()
H A Dt_nice.c98 int sta; in ATF_TC_BODY() local
131 (void)wait(&sta); in ATF_TC_BODY()
133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
/minix/tests/lib/libc/termios/
H A Dt_tcsetpgrp.c50 int rv, sta; in ATF_TC_BODY() local
75 (void)wait(&sta); in ATF_TC_BODY()
77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()

12