diff --git a/xCAT-test/autotest/testcase/probe/xcatmn b/xCAT-test/autotest/testcase/probe/xcatmn index 6dae5014df..fc4ac30736 100644 --- a/xCAT-test/autotest/testcase/probe/xcatmn +++ b/xCAT-test/autotest/testcase/probe/xcatmn @@ -1,7 +1,7 @@ start:xcatprobe_xcatmn_selinux -description:To test if xcatprobe xcatmn reports the SELinux mode of the management node, and does not report that mode as a failure. This case must run in xcat mn +description:To test if xcatprobe xcatmn reports the SELinux policy of the management node, and does not report it as a problem. The output is not filtered, so a failure of any checkpoint is in the log. -H runs the checks on this node, instead of dispatching them. This case must run in xcat mn label:mn_only,ci_test -cmd:xcatprobe xcatmn 2>&1 | grep -i selinux -check:rc==0 -check:output!~FAIL +cmd:xcatprobe xcatmn -H 2>&1 +check:output=~Checking SELinux policy for xCAT\.\.\..*\[ OK \] +check:output!~Checking SELinux policy for xCAT\.\.\..*\[FAIL\] end