[kernel-tests] 51/73: Fix selinux check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is an automated email from the git hooks/post-receive script.

jforbes pushed a commit to branch master
in repository kernel-tests.

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

    Fix selinux check
---
 default/selinux-dac-controls/runtest.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux