Home
last modified time | relevance | path

Searched refs:FAIL_IF_MSG (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/powerpc/ptrace/
A Dptrace-perf-hwbreak.c197 FAIL_IF_MSG(1, "Failed to fork child"); in ptrace_fork_child()
205 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in ptrace_fork_child()
257 FAIL_IF_MSG(bp_id < 0, "Failed to set ptrace watchpoint"); in same_watch_addr_test()
263 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
278 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
296 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
306 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
321 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
339 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
354 FAIL_IF_MSG(!WIFSTOPPED(status), "Child is not stopped"); in same_watch_addr_test()
[all …]
/tools/testing/selftests/powerpc/dexcr/
A Ddexcr_test.c63 FAIL_IF_MSG(err != -1, "simultaneous set and clear should be rejected"); in dexcr_prctl_aspect_test()
68 FAIL_IF_MSG(err != -1, "simultaneous set and clear on exec should be rejected"); in dexcr_prctl_aspect_test()
73 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET failed"); in dexcr_prctl_aspect_test()
82 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_CLEAR failed"); in dexcr_prctl_aspect_test()
86 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_SET, "config value unexpected set flag"); in dexcr_prctl_aspect_test()
91 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET_ONEXEC failed"); in dexcr_prctl_aspect_test()
101 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC failed"); in dexcr_prctl_aspect_test()
116 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "process aspect should be set"); in dexcr_prctl_aspect_test()
124 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should be clear"); in dexcr_prctl_aspect_test()
199 FAIL_IF_MSG(err, "failed to parse which value for child"); in main()
[all …]
A Dhashchk_test.c72 FAIL_IF_MSG(hashchk_failure_msg, hashchk_failure_msg); in hashchk_detected_test()
132 FAIL_IF_MSG(pipe(pipefd), "failed to create pipe"); in hashchk_exec_random_key_test()
144 FAIL_IF_MSG(read(pipefd[0], hash_values, sizeof(hash_values)) != sizeof(hash_values), in hashchk_exec_random_key_test()
152 FAIL_IF_MSG(count_hash_values_matches() == HASH_COUNT, "shared key detected"); in hashchk_exec_random_key_test()
208 FAIL_IF_MSG(child_stack == MAP_FAILED, "failed to map child stack"); in hashchk_clone_share_key_test()
214 FAIL_IF_MSG(count_hash_values_matches() != HASH_COUNT, in hashchk_clone_share_key_test()
/tools/testing/selftests/powerpc/include/
A Dutils.h128 #define FAIL_IF_MSG(x, msg) \ macro

Completed in 9 milliseconds