Home
last modified time | relevance | path

Searched refs:T_FAIL (Results 1 – 25 of 155) sorted by relevance

1234567

/xnu-12377.61.12/tests/unit/
H A Decc_test_remove_duplicates.c48 T_FAIL("Expected: bp_count == 0 but got: bp_count == %u", bp_count);
59T_FAIL("Expected: bp_count == 1 and bp[0] == 0 but got: bp_count == %u, bp[0] == %u", bp_count, bp…
71T_FAIL("Expected: bp_count == 1 and bp[0] == 0 but got: bp_count == %u, bp[0] == %u", bp_count, bp…
83T_FAIL("Expected: bp_count == 2 and bp == [0, 1] but got: bp_count == %u, bp == [%u, %u]", bp_coun…
95T_FAIL("Expected: bp_count == 2 and bp == [0, 1] but got: bp_count == %u, bp == [%u, %u]", bp_coun…
107T_FAIL("Expected: bp_count == 3 and bp == [0, 1, 2] but got: bp_count == %u, bp == [%u, %u, %u]", …
119T_FAIL("Expected: bp_count == 3 and bp == [0, 1, 2] but got: bp_count == %u, bp == [%u, %u, %u]", …
140 T_FAIL("Expected: bp_count == 10 and bp == [0-9] but got: bp_count == %u", bp_count);
/xnu-12377.61.12/tests/vfs/
H A Dsandbox_type_error.c79 T_FAIL("Failed to fork"); in test_path()
88 T_FAIL("Creating Sandbox profile object"); in test_path()
94 T_FAIL("Applying Sandbox profile FAILED"); in test_path()
119 T_FAIL("(res != pid"); in test_path()
124 T_FAIL("Stat of '%s' with deny path of '%s' FAILED", stat_path, deny_path); in test_path()
129T_FAIL("Stat of '%s' with deny path of '%s' should FAIL with '%s', got '%s'", stat_path, deny_path… in test_path()
H A Dopenbyid_stress.c150 T_FAIL("openbyid_np() failed %d", errno);
156 T_FAIL("fstatfs() failed");
163 T_FAIL("fstat() failed");
172T_FAIL("Wrong file opened! fsid {%d, %d}, inode %llu", buf_statfs2.f_fsid.val[0], buf_statfs2.f_fs…
/xnu-12377.61.12/tests/
H A Dkqueue_timer_tests.c114 T_FAIL("Failure: scale 0x%x not recognized.\n", scale); in test_absolute_kevent()
142 T_FAIL("%s time:%d, scale:0x%x", __func__, time, scale); in test_absolute_kevent()
177 T_FAIL("Failure: scale 0x%x not recognized.\n", scale); in test_oneshot_kevent()
197 T_FAIL("%s time:%d, scale:0x%x", __func__, time, scale); in test_oneshot_kevent()
225 T_FAIL("%s() setup failure: kevent64 returned %d\n", __func__, ret); in test_interval_kevent()
242 T_FAIL("%s() failure: kevent64 returned %d\n", __func__, ret); in test_interval_kevent()
262 T_FAIL("%s() usec:%d (saw %lld of %lld expected pops)", __func__, usec, pops, expected_pops); in test_interval_kevent()
294 T_FAIL("%s() setup failure: kevent64 returned %d\n", __func__, ret); in test_repeating_kevent()
303 T_FAIL("%s() setup failure: kevent64 returned %d\n", __func__, ret); in test_repeating_kevent()
315 T_FAIL("%s() usec:%d (saw %lld of %lld expected pops)", __func__, usec, pops, expected_pops); in test_repeating_kevent()
[all …]
H A Dssbs.c66 T_FAIL("SSBS support sysctl contains garbage: %u!", ssbs_support);
71 T_FAIL("SSBS does not default to off (value seen: 0x%" PRIx64 ")!", ssbs_state);
78 T_FAIL("SSBS did not turn on (value seen: 0x%" PRIx64 ")!", ssbs_state);
85 T_FAIL("SSBS did not turn off (value seen: 0x%" PRIx64 ")!", ssbs_state);
H A Dhw_breakpoint_step_arm64.c45 T_FAIL("invalid exception type: %d", exception); in catch_mach_exception_raise()
62 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
80 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
93 T_FAIL("mach_port_allocate: %s (%d)", mach_error_string(kret), kret); in exc_handler()
98 T_FAIL("mach_port_insert_right: %s (%d)", mach_error_string(kret), kret); in exc_handler()
104 T_FAIL("task_set_exception_ports: %s (%d)", mach_error_string(kret), kret); in exc_handler()
111 T_FAIL("mach_msg_server: %s (%d)", mach_error_string(kret), kret); in exc_handler()
H A Dperf_spawn_fork.c26 T_FAIL("posix_spawn returned %d", err); \
30 T_FAIL("Child process of posix_spawn failed to run"); \
57 T_FAIL("fork returned -1"); \
61 T_FAIL("forked process failed to exit properly"); \
H A Dexc_resource_threads.c57 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
75 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
93 T_FAIL("mach_port_allocate: %s (%d)", mach_error_string(kret), kret); in exc_handler()
98 T_FAIL("mach_port_insert_right: %s (%d)", mach_error_string(kret), kret); in exc_handler()
104 T_FAIL("task_set_exception_ports: %s (%d)", mach_error_string(kret), kret); in exc_handler()
111 T_FAIL("mach_msg_server: %s (%d)", mach_error_string(kret), kret); in exc_handler()
H A Dicmp_basic.c86 T_FAIL("ping %s failed", test_ip);
103 T_FAIL("ping %s failed", test_ip);
116 T_FAIL("ping failed");
128 T_FAIL("ping failed");
H A Dsendmsg_x_test.c93 T_FAIL("sendmsg_x() failed: %s", strerror(errno));
96 T_FAIL("sendmsg_x() failed: return %zd instead of 1", sendmsg_x_result);
108 T_FAIL("recv() failed: return %zd instead of DATAGRAM_SIZE", recv_result);
115 T_FAIL("receive_buffer1[%d] 0x%x == 0x12", i, receive_buffer1[i]);
H A Dpmap_fault_on_commpage.c38 T_FAIL("read access triggered a %s", SIGNAL_EXPECTED_STR); in test_handler()
43 T_FAIL("unexpected %s in test state %u", SIGNAL_EXPECTED_STR, (unsigned int)test_state); in test_handler()
66 T_FAIL("write access must trigger a %s", SIGNAL_EXPECTED_STR);
H A Dexc_helpers.c141 T_FAIL("unknown architecture"); in get_exception_pc()
169 T_FAIL("unknown architecture"); in advance_exception_pc()
187 T_FAIL("Triggered catch_mach_exception_raise() which shouldn't happen..."); in catch_mach_exception_raise()
236 T_FAIL("unimplemented PC change from EXCEPTION_STATE_IDENTITY_PROTECTED callback"); in catch_mach_exception_raise_state_identity_protected()
277 T_FAIL("unimplemented PC change from EXCEPTION_IDENTITY_PROTECTED callback"); in catch_mach_exception_raise_identity_protected()
301 T_FAIL("Triggered catch_mach_exception_raise_state() which shouldn't happen..."); in catch_mach_exception_raise_state()
401 T_FAIL("Passed behavior (%d) is not supported by exc_helpers.", behavior); in set_thread_exception_port_behavior64()
511 T_FAIL("Unsupported behavior"); in _run_exception_handler()
537 T_FAIL("Passed behavior (%d) is not supported by exc_helpers.", behavior); in run_exception_handler_behavior64()
H A Dproc_rlimit.c131 T_FAIL("Unknown action on soft limit: %d", action); in change_rlimits()
153 T_FAIL("Unknown action on hard limit: %d", action); in change_rlimits()
158 T_FAIL("Unknown limit type: %d", limit_type); in change_rlimits()
181T_FAIL("Mismatch limit values %s despite a successful setrlimit call (setrlimit'd soft 0x%16llx ha… in change_rlimits()
189T_FAIL("Mismatch limit values %s despite a successful setrlimit call (setrlimit'd soft 0x%16llx ha… in change_rlimits()
195T_FAIL("Mismatch limit values %s despite a successful setrlimit call (setrlimit'd soft 0x%16llx ha… in change_rlimits()
H A Dexc_guard_helper_test.c197 T_FAIL("unexpected guard exception");
233 T_FAIL("intended unallocated space was repeatedly found to be allocated, giving up");
244 T_FAIL("no VM guard exception caught");
278 T_FAIL("unexpected guard exception");
305 T_FAIL("no Mach port guard exception caught");
H A Dunrecoverable_trap_test.c63 T_FAIL("kernel dispatched signal handler instead of terminating process"); in signal_handler_expect_not_called()
98 T_FAIL("child ran past unrecoverable brk");
142 T_FAIL("child ran past brk");
229 T_FAIL("child ran past brk");
H A Dreply_port_defense.c117 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
135 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
155 T_FAIL("Unsupported catch_mach_exception_raise_state_identity_protected"); in catch_mach_exception_raise_state_identity_protected()
178 T_FAIL("Unexpected exception"); in catch_mach_exception_raise_identity_protected()
192 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise()
269 T_FAIL("%s waitpid: child", strerror(errno)); in reply_port_defense()
272 T_FAIL("Child exited with status = 0x%x", child_status); in reply_port_defense()
H A Dcorpse_backtrace.c46 T_FAIL("Does not expect backtrace for this test case"); in exc_handler_backtrace()
184 T_FAIL("Unexpected kcdata object type"); in exc_handler_backtrace()
204 T_FAIL("Expect backtrace for this test case"); in exc_handler_identity_protected()
248 T_FAIL("Did not receive exception within timeout");
273 T_FAIL("Should not reach here");
H A Dthread_test_context.c35 T_FAIL("error at osfmk/kern/thread.c:%lld from thread.c:%lld",
38 T_FAIL("error at osfmk/kern/thread.c:%lld",
/xnu-12377.61.12/tests/ipc/
H A Dkernel_signed_pac_thread_state.c133 T_FAIL("Triggered catch_mach_exception_raise() which shouldn't happen..."); in catch_mach_exception_raise()
147 T_FAIL("Triggered catch_mach_exception_raise_identity_protected() which shouldn't happen..."); in catch_mach_exception_raise_identity_protected()
167 T_FAIL("Triggered catch_mach_exception_raise_state() which shouldn't happen..."); in catch_mach_exception_raise_state()
274 T_FAIL("Received more than 2 exceptions, failing the test"); in catch_mach_exception_raise_state_identity()
289 T_FAIL("Received more than 2 exceptions, failing the test"); in catch_mach_exception_raise_state_identity()
307T_FAIL("Currently only EXCEPTION_STATE_IDENTITY and EXCEPTION_IDENTITY_PROTECTED are implemented"); in create_exception_port_behavior64()
390 T_FAIL("Expected %d exceptions, received %d", expected_exception, exception_count);
416 T_FAIL("Child should have been terminated, but it did not");
422 T_FAIL("Expected %d exceptions, received %d", expected_exception, exception_count);
H A Dsys_perf_notify_test.c42 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
60 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
79 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity_protected()
110 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise()
H A Dimm_pinned_control_port.c114 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
145 T_FAIL("Unexpected exception"); in catch_mach_exception_raise_identity_protected()
164 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
177 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise()
358 T_FAIL("waitpid: child mia"); in test_imm_control_port_exc_behavior()
363 T_FAIL("Child exited with status = %x", child_status); T_END; in test_imm_control_port_exc_behavior()
/xnu-12377.61.12/tests/vm/
H A Dvm_test_90774260.c30 T_FAIL("mach_memory_object_memory_entry() returned MIG_BAD_ID"); in test_90774260()
131 T_FAIL("first_layer_addr should not have changed"); in test_90774260()
135 T_FAIL("shared_addr should have changed"); in test_90774260()
139 T_FAIL("cow_addr should not have changed"); in test_90774260()
H A Dmemorystatus_rearm.c111 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
130 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
246 T_FAIL("mach_port_allocate: %s (%d)", mach_error_string(kret), kret); in exc_handler_thread()
251 T_FAIL("mach_port_insert_right: %s (%d)", mach_error_string(kret), kret); in exc_handler_thread()
257 T_FAIL("task_set_exception_ports: %s (%d)", mach_error_string(kret), kret); in exc_handler_thread()
264 T_FAIL("mach_msg_server: %s (%d)", mach_error_string(kret), kret); in exc_handler_thread()
H A Dcorpse_owned_vmobjects.c81 T_FAIL("Unsupported catch_mach_exception_raise_state"); in catch_mach_exception_raise_state()
99 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity()
118 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_state_identity_protected()
132 T_FAIL("Unsupported catch_mach_exception_raise_state_identity"); in catch_mach_exception_raise_identity_protected()
180 T_FAIL("No arguments passed to memory eater");
/xnu-12377.61.12/tests/signals/
H A Dsigchld_return.c103 T_FAIL("Signal was not SIGCHLD.");
107 T_FAIL("Unexpected exitcode");
127 T_FAIL("Signal was not SIGCHLD.");
131 T_FAIL("Unexpected exitcode");

1234567