Home
last modified time | relevance | path

Searched refs:WEXITSTATUS (Results 1 – 25 of 43) sorted by relevance

12

/xnu-8796.121.2/tests/
H A Dprioritize_process_launch.c346 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_intransit()
347 T_EXPECT_EQ(WEXITSTATUS(stat), 31, "Temp owner boost did not work correctly with knotes"); in workloop_cb_test_intransit()
380 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_knote_kill()
381 T_EXPECT_EQ(WEXITSTATUS(stat), 47, "Temp owner boost did not work correctly with knotes"); in workloop_cb_test_knote_kill()
426 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat)); in workloop_cb_test_sync_bootstrap()
427 T_EXPECT_EQ(WEXITSTATUS(stat), 31, "Temp owner boost did not work correctly with knotes"); in workloop_cb_test_sync_bootstrap()
485 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat));
486 T_EXPECT_EQ(WEXITSTATUS(stat), 47, "spawn did not properly boost main thread");
508 T_QUIET; T_LOG("The return stat is %d", WEXITSTATUS(stat));
509 T_EXPECT_EQ(WEXITSTATUS(stat), 47, "spawn/exec did not properly boost main thread");
[all …]
H A Dposix_spawn_alt_rosetta.c46 T_ASSERT_EQ(WEXITSTATUS(wait_ret), 0, "running natively should return 0");
58 T_ASSERT_EQ(WEXITSTATUS(wait_ret), 1, "running in rosetta should return 1");
70 T_ASSERT_EQ(WEXITSTATUS(wait_ret), 2, "running with alternative rosetta runtime should return 2");
H A Dvm_set_max_addr_test.c41 code = WEXITSTATUS(status);
53 code = WEXITSTATUS(status);
H A Dperf_spawn_fork.c29 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { \
60 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) { \
H A Dposix_spawn_file_actions.c61 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
130 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dsubsystem_root_path.h25 if (WIFEXITED(status) && (WEXITSTATUS(status) == 0)) { in _spawn_and_wait()
H A Dpipe_read_infloop_55437634.c52 T_ASSERT_EQ(WEXITSTATUS(status), 0, NULL);
H A Dposix_spawn_launch_type.c62 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dshared_cache_tests.c37 T_LOG("waitpid for %d returned with status %d", child1, WEXITSTATUS(status));
H A Dsubsystem_root_path_helper.c38 if (!(WIFEXITED(status) && (WEXITSTATUS(status) == 0))) { in main()
H A Dtask_filter_msg.c64 const int exit_code = WEXITSTATUS(status);
H A Dposix_spawn_file_actions_add_fileportdup2_np.c67 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dsuspended_spawn_26184412.c86 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success"); in spawn_and_signal()
H A Dposix_spawn_posix_cred.c90 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dposix_spawn_archpref.c38 …T_ASSERT_EQ(WEXITSTATUS(wait_ret), subtype, "%s: child process should be running with %d subtype",… in run_test()
H A Dxnu_quick_test.c99 T_ASSERT_TRUE((WIFEXITED( my_status ) && WEXITSTATUS( my_status ) == 44),
H A Dposix_spawn_filtering.c101 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dmacho_size_63133398.c3219 T_ASSERT_EQ(1, WEXITSTATUS(status), NULL);
H A Dperf_exit.c174 if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
H A Dtask_vm_info_decompressions.c70 if (WIFEXITED(status) != 1 || WEXITSTATUS(status) != 0) { in freeze_pid()
H A Dreply_port_defense.c178 if (WIFEXITED(child_status) && WEXITSTATUS(child_status)) {
/xnu-8796.121.2/tools/tests/execperf/
H A Drun.c85 if (WEXITSTATUS(ret) != 42) { in work()
86 errx(1, "process exited with unexpected exit code %d", WEXITSTATUS(ret)); in work()
/xnu-8796.121.2/tests/vm/
H A Dzalloc.c73 pid, WEXITSTATUS(status));
79 T_ASSERT_TRUE(WIFEXITED(status) && WEXITSTATUS(status) == 0,
H A Dposix_spawnattr_set_jetsam_ttr.c216 T_QUIET; T_ASSERT_EQ(WEXITSTATUS(status), 0, "return code was 0"); in posix_spawn_helper_and_wait_for_exit()
/xnu-8796.121.2/bsd/sys/
H A Dwait.h144 #define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff) macro
146 #define WEXITSTATUS(x) (_W_INT(x) >> 8) macro

12