This is an automated email from the git hooks/post-receive script.
jforbes pushed a commit to branch master
in repository kernel-tests.
commit 24bf68be38c799c83440252a2c07ff682a342d80
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Thu Aug 7 16:54:06 2014 +0200
Check for SELinux before running paxtest
---
default/paxtest/runtest.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/default/paxtest/runtest.sh b/default/paxtest/runtest.sh
index 8b44626..8aa3b4e 100755
--- a/default/paxtest/runtest.sh
+++ b/default/paxtest/runtest.sh
@@ -23,6 +23,13 @@ check_bits()
fi
}
+# Ensure SELinux is enforcing
+selinux=`getenforce`
+if [ "$selinux" != "Enforcing" ]; then
+ echo "SELinux must be enforcing for this test"
+ exit 3
+fi
+
# Build.
make linux >/dev/null 2>/dev/null
if [ ! -f ./paxtest ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.