/minix/tests/lib/libc/sys/ |
H A D | t_kill.c | 56 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 D | t_getlogin.c | 89 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 D | t_chroot.c | 55 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 D | t_setrlimit.c | 181 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 D | t_msgsnd.c | 81 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 D | t_mmap.c | 330 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 D | t_mkfifo.c | 75 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 D | t_mprotect.c | 177 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 D | t_msgrcv.c | 111 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 D | t_getsid.c | 83 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 D | t_setuid.c | 83 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 D | t_getpid.c | 62 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 D | t_issetugid.c | 49 int sta; in check() local 75 (void)wait(&sta); in check() 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in check()
|
H A D | t_msgctl.c | 117 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 D | t_getgroups.c | 101 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 D | t_mkdir.c | 115 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 D | t_nanosleep.c | 136 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 D | t_exit.c | 60 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 D | t_assert.c | 61 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 D | t_pause.c | 80 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 D | t_alarm.c | 82 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 D | t_getgrent.c | 127 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 D | t_closefrom.c | 141 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 D | t_nice.c | 98 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 D | t_tcsetpgrp.c | 50 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()
|