Home
last modified time | relevance | path

Searched refs:FAIL_IF_EXIT_MSG (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/powerpc/dexcr/
H A Ddexcr_test.c23 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), in dexcr_prctl_onexec_test_child()
26 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), in dexcr_prctl_onexec_test_child()
29 FAIL_IF_EXIT_MSG(!(aspect & dexcr), "setting aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child()
31 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), in dexcr_prctl_onexec_test_child()
34 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), in dexcr_prctl_onexec_test_child()
37 FAIL_IF_EXIT_MSG(aspect & dexcr, "clearing aspect across exec did not take effect"); in dexcr_prctl_onexec_test_child()
39 FAIL_IF_EXIT_MSG(true, "unknown expected status"); in dexcr_prctl_onexec_test_child()
135 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), in dexcr_prctl_aspect_test()
138 FAIL_IF_EXIT_MSG(mfspr(SPRN_DEXCR_RO) & aspect, in dexcr_prctl_aspect_test()
157 FAIL_IF_EXIT_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), in dexcr_prctl_aspect_test()
[all …]
H A Ddexcr.c59 FAIL_IF_EXIT_MSG(true, "unknown PR aspect"); in pr_which_to_aspect()
118 FAIL_IF_EXIT_MSG(true, "bad enum dexcr_source"); in get_dexcr()
126 FAIL_IF_EXIT_MSG(pid == -1, "fork failed"); in await_child_success()
127 FAIL_IF_EXIT_MSG(waitpid(pid, &wstatus, 0) == -1, "wait failed"); in await_child_success()
128 FAIL_IF_EXIT_MSG(!WIFEXITED(wstatus), "child did not exit cleanly"); in await_child_success()
129 FAIL_IF_EXIT_MSG(WEXITSTATUS(wstatus) != 0, "child exit error"); in await_child_success()
H A Dhashchk_test.c148 FAIL_IF_EXIT_MSG(hash_values[HASH_COUNT] != (unsigned long)&hash_values, in hashchk_exec_random_key_test()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-perf-hwbreak.c200 FAIL_IF_EXIT_MSG(ptrace_traceme(), "PTRACE_TRACEME failed"); in ptrace_fork_child()
201 FAIL_IF_EXIT_MSG(raise(SIGSTOP), "Child failed to raise SIGSTOP"); in ptrace_fork_child()
/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h147 #define FAIL_IF_EXIT_MSG(x, msg) \ macro
/linux/tools/testing/selftests/powerpc/
H A Dutils.c630 FAIL_IF_EXIT_MSG(sigaction(sig, &sa, &old_handler), in push_signal_handler()
640 FAIL_IF_EXIT_MSG(sigaction(sig, &old_handler, &popped), in pop_signal_handler()