| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | bsd-waitpid.h | 31 #undef WIFEXITED 37 #define WIFEXITED(w) (!((_W_INT(w)) & 0377)) macro 39 #define WIFSIGNALED(w) (!WIFEXITED(w) && !WIFSTOPPED(w)) 40 #define WEXITSTATUS(w) (int)(WIFEXITED(w) ? ((_W_INT(w) >> 8) & 0377) : -1)
|
| /freebsd-14.2/lib/libc/tests/gen/ |
| H A D | popen_test.c | 84 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 7, in ATF_TC_BODY() 110 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 9, in ATF_TC_BODY() 128 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0, in ATF_TC_BODY() 152 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0, in ATF_TC_BODY() 174 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 88, in ATF_TC_BODY() 198 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 1, in ATF_TC_BODY() 201 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 1, in ATF_TC_BODY() 234 ATF_CHECK_MSG(WIFEXITED(status) && WEXITSTATUS(status) == 0, in ATF_TC_BODY()
|
| H A D | posix_spawn_test.c | 64 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 42); in ATF_TC_BODY() 85 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127); in ATF_TC_BODY() 109 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 42); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/kernel/ |
| H A D | t_ptrace_wait.h | 226 ATF_REQUIRE_MSG(WIFEXITED(status), "Reported !exited process"); in validate_status_exited() 239 FORKEE_ASSERTX(WIFEXITED(status)); in forkee_status_exited() 250 ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process"); in validate_status_continued() 259 FORKEE_ASSERTX(!WIFEXITED(status)); in forkee_status_continued() 268 ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process"); in validate_status_signaled() 283 FORKEE_ASSERTX(!WIFEXITED(status)); in forkee_status_signaled() 295 ATF_REQUIRE_MSG(!WIFEXITED(status), "Reported exited process"); in validate_status_stopped() 311 FORKEE_ASSERTX(!WIFEXITED(status)); in forkee_status_stopped()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A D | t_exit.c | 77 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 105 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 133 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != i) in ATF_TC_BODY() 168 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
| H A D | t_fileactions.c | 121 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 147 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 173 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_FAILURE); in ATF_TC_BODY() 214 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 243 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 127); in ATF_TC_BODY() 341 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 379 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in ATF_TC_BODY() 423 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == EXIT_SUCCESS); in t_spawn_chdir_impl()
|
| H A D | t_spawn.c | 159 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 0); in ATF_TC_BODY() 165 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 1); in ATF_TC_BODY() 171 ATF_REQUIRE(WIFEXITED(status) && WEXITSTATUS(status) == 7); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_wait.c | 90 ATF_REQUIRE(WIFEXITED(st) && WEXITSTATUS(st) == 0x5a); in ATF_TC_BODY() 210 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY() 225 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY() 240 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY() 285 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY() 296 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY() 307 ATF_REQUIRE(!WIFEXITED(st)); in ATF_TC_BODY()
|
| H A D | t_chroot.c | 95 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 167 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 219 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 300 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_getlogin.c | 114 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 170 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 223 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_kill.c | 113 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY() 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()
|
| H A D | t_setrlimit.c | 225 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 310 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 366 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 425 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 466 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY()
|
| H A D | t_msgsnd.c | 114 if (WIFEXITED(sta) != 0 || WIFSIGNALED(sta) == 0) in ATF_TC_BODY() 270 if (WIFEXITED(sta) == 0 || WIFSIGNALED(sta) != 0) in ATF_TC_BODY() 339 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) { in ATF_TC_BODY()
|
| H A D | t_nanosleep.c | 184 if (WIFEXITED(sta) == 0 || WEXITSTATUS(sta) != EXIT_SUCCESS) in ATF_TC_BODY() 253 ATF_REQUIRE(WIFEXITED(sta) == 1); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/sendmail/include/sm/ |
| H A D | conf.h | 716 # undef WIFEXITED 1116 # undef WIFEXITED 1186 # undef WIFEXITED 1329 # undef WIFEXITED 1430 # undef WIFEXITED 1636 # undef WIFEXITED 1658 # undef WIFEXITED 1676 # undef WIFEXITED 1701 # undef WIFEXITED 1985 # undef WIFEXITED [all …]
|
| /freebsd-14.2/tests/sys/kern/ |
| H A D | ptrace_test.c | 211 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 258 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 351 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 357 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 437 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 472 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 519 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 529 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 671 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 676 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() [all …]
|
| /freebsd-14.2/usr.sbin/boottrace/ |
| H A D | boottrace.c | 66 if (!WIFEXITED(status)) in main() 70 return (WIFEXITED(status) ? WEXITSTATUS(status) : EXIT_FAILURE); in main()
|
| /freebsd-14.2/contrib/atf/atf-c++/ |
| H A D | utils_test.cpp | 234 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 353 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 397 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 412 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 427 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 442 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY() 459 ATF_REQUIRE(WIFEXITED(status)); in ATF_TEST_CASE_BODY()
|
| /freebsd-14.2/contrib/atf/atf-c/ |
| H A D | utils_test.c | 243 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 413 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 457 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 472 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 487 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 502 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 519 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY()
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | fork.sh | 121 if (WIFEXITED(status) != 1) 122 printf("WIFEXITED(status) = %d\n", WIFEXITED(status));
|
| /freebsd-14.2/tests/sys/fs/tarfs/ |
| H A D | mktar.c | 213 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in main() 242 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in main() 267 if (!WIFEXITED(wstatus) || WEXITSTATUS(wstatus) != 0) in main()
|
| /freebsd-14.2/tools/regression/posixsem2/ |
| H A D | semtest.c | 45 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) in test_unnamed() 85 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) in test_named()
|
| /freebsd-14.2/contrib/netbsd-tests/dev/sysmon/ |
| H A D | t_swwdog.c | 144 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY() 181 ATF_REQUIRE(WIFEXITED(status)); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/netbsd-tests/rump/rumpkern/h_client/ |
| H A D | h_forkcli.c | 61 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in simple() 111 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) in pipecomm()
|
| /freebsd-14.2/tools/test/ptrace/ |
| H A D | scescx.c | 55 if (WIFEXITED(status)) { in decode_wait_status() 235 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_sc() 260 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_sc() 319 if (WIFEXITED(status) || WIFSIGNALED(status)) { in trace_cont()
|