Lines Matching refs:FAIL_IF_MSG

63 	FAIL_IF_MSG(err != -1, "simultaneous set and clear should be rejected");  in dexcr_prctl_aspect_test()
64 FAIL_IF_MSG(errno_save != EINVAL, "simultaneous set and clear should be rejected with EINVAL"); 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()
69FAIL_IF_MSG(errno_save != EINVAL, "simultaneous set and clear on exec should be rejected with EINV… in dexcr_prctl_aspect_test()
73 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET failed"); in dexcr_prctl_aspect_test()
76 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), "config value not PR_PPC_DEXCR_CTRL_SET"); in dexcr_prctl_aspect_test()
77 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_CLEAR, "config value unexpected clear flag"); in dexcr_prctl_aspect_test()
78 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "setting aspect did not take effect"); in dexcr_prctl_aspect_test()
82 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_CLEAR failed"); in dexcr_prctl_aspect_test()
85 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "config value not PR_PPC_DEXCR_CTRL_CLEAR"); 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()
87 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "clearing aspect did not take effect"); in dexcr_prctl_aspect_test()
91 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET_ONEXEC failed"); in dexcr_prctl_aspect_test()
94 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
95FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_SET_ONEXEC… in dexcr_prctl_aspect_test()
96 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC, "config value unexpected clear on exec flag"); in dexcr_prctl_aspect_test()
97FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "scheduling aspect to set on exec should not change it … in dexcr_prctl_aspect_test()
101 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC failed"); in dexcr_prctl_aspect_test()
104 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "process aspect config should still be cleared"); in dexcr_prctl_aspect_test()
105FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_CLEAR_ON… in dexcr_prctl_aspect_test()
106 FAIL_IF_MSG(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC, "config value unexpected set on exec flag"); in dexcr_prctl_aspect_test()
107 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should still be cleared"); in dexcr_prctl_aspect_test()
111 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC failed"); in dexcr_prctl_aspect_test()
114 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET), "config value not PR_PPC_DEXCR_CTRL_SET"); in dexcr_prctl_aspect_test()
115FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_CLEAR_ON… in dexcr_prctl_aspect_test()
116 FAIL_IF_MSG(!(aspect & mfspr(SPRN_DEXCR_RO)), "process aspect should be set"); in dexcr_prctl_aspect_test()
119 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_CLEAR | PR_PPC_DEXCR_CTRL_SET_ONEXEC failed"); in dexcr_prctl_aspect_test()
122 FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_CLEAR), "config value not PR_PPC_DEXCR_CTRL_CLEAR"); in dexcr_prctl_aspect_test()
123FAIL_IF_MSG(!(ctrl & PR_PPC_DEXCR_CTRL_SET_ONEXEC), "config value not PR_PPC_DEXCR_CTRL_SET_ONEXEC… in dexcr_prctl_aspect_test()
124 FAIL_IF_MSG(aspect & mfspr(SPRN_DEXCR_RO), "process aspect should be clear"); in dexcr_prctl_aspect_test()
147 FAIL_IF_MSG(err, "PR_PPC_DEXCR_CTRL_SET | PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC failed"); in dexcr_prctl_aspect_test()
199 FAIL_IF_MSG(err, "failed to parse which value for child"); in main()
204 FAIL_IF_MSG(true, "unknown test case"); in main()