kernel-tests master: Fix selinux check (d58176d)

jforbes at fedoraproject.org jforbes at fedoraproject.org
Tue Aug 12 15:22:09 UTC 2014


Repository : http://git.fedorahosted.org/cgit/kernel-tests.git

On branch  : master

>---------------------------------------------------------------

commit d58176df3934725aa75b06aac89da1361098bf0a
Author: Justin M. Forbes <jforbes at redhat.com>
Date:   Tue Aug 12 10:22:04 2014 -0500

    Fix selinux check


>---------------------------------------------------------------

 default/selinux-dac-controls/runtest.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/default/selinux-dac-controls/runtest.sh b/default/selinux-dac-controls/runtest.sh
index 736ac97..dcdab08 100755
--- a/default/selinux-dac-controls/runtest.sh
+++ b/default/selinux-dac-controls/runtest.sh
@@ -13,7 +13,7 @@ if [ "$is_root" -ne "0" ]; then
 fi
 
 selinux=`getenforce`
-if [ "$selinux" == "Permissive" ]; then
+if [ "$selinux" != "Enforcing" ]; then
 	echo "SELinux must be enabled for this test"
 	exit 3
 fi



More information about the kernel mailing list