Home
last modified time | relevance | path

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

123

/xnu-11417.121.6/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 Dicmp_basic.c67 if (ret == 0 || (WIFEXITED(ret) && !WEXITSTATUS(ret))) { in require_internet()
83 if (ret == 0 || (WIFEXITED(ret) && !WEXITSTATUS(ret))) {
99 if (ret == 0 || (WIFEXITED(ret) && !WEXITSTATUS(ret))) {
112 if (ret == 0 || (WIFEXITED(ret) && !WEXITSTATUS(ret))) {
125 if (ret == 0 || (WIFEXITED(ret) && !WEXITSTATUS(ret))) {
H A Dposix_spawn_alt_rosetta.c50 T_ASSERT_EQ(WEXITSTATUS(wait_ret), 0, "running natively should return 0");
62 T_ASSERT_EQ(WEXITSTATUS(wait_ret), 1, "running in rosetta should return 1");
74 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 Dshared_cache_tests.c37 T_LOG("waitpid for %d returned with status %d", child1, WEXITSTATUS(status));
H A Dposix_spawn_launch_type.c62 T_ASSERT_EQ(WEXITSTATUS(status), EX_OK, "child should have exited with success");
H A Dexec_set_proc_name.c47 T_ASSERT_EQ(WEXITSTATUS(status), 0, "child exit code");
H A Dsubsystem_root_path_helper.c38 if (!(WIFEXITED(status) && (WEXITSTATUS(status) == 0))) { in main()
H A Dtask_filter_msg.c65 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.c102 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);
/xnu-11417.121.6/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-11417.121.6/tests/vm/
H A Dzalloc.c76 pid, WEXITSTATUS(status));
82 T_ASSERT_TRUE(WIFEXITED(status) && WEXITSTATUS(status) == 0,
/xnu-11417.121.6/bsd/sys/
H A Dwait.h144 #define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff) macro
146 #define WEXITSTATUS(x) (_W_INT(x) >> 8) macro
/xnu-11417.121.6/tests/skywalk/
H A Dskywalk_mptest_driver.c307 if (WEXITSTATUS(child_status)) { in skywalk_mptest_driver_run()
309 child, childpid, WEXITSTATUS(child_status)); in skywalk_mptest_driver_run()
317 if (!WIFEXITED(child_status) || WEXITSTATUS(child_status)) { in skywalk_mptest_driver_run()
H A Dskywalk_test_driver.c316 T_LOG("Child exited with status %d", WEXITSTATUS(child_status)); in skywalk_test_driver_run()
334 if ((WIFEXITED(child_status) && WEXITSTATUS(child_status)) || in skywalk_test_driver_run()

123