summaryrefslogtreecommitdiff
path: root/test/TEST-06-SELINUX/test.sh
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-06-23 10:25:44 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2016-06-24 11:28:35 +0200
commita415d43655b7b82c475506519dfdad6f9291ac41 (patch)
tree37b7804ae46dd30c5fedd52e9110b7f932cf66ed /test/TEST-06-SELINUX/test.sh
parent54522e941df6a379d65ef1822af4215654fe1513 (diff)
tests: force booting the kernel with SELinux
selinux=1 is not sufficient when running on a kernel which also has another LSM (such as AppArmor) enabled and defaults to that.
Diffstat (limited to 'test/TEST-06-SELINUX/test.sh')
-rwxr-xr-xtest/TEST-06-SELINUX/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh
index 4f5895be66..1ae4a7c0d9 100755
--- a/test/TEST-06-SELINUX/test.sh
+++ b/test/TEST-06-SELINUX/test.sh
@@ -10,7 +10,7 @@ TEST_DESCRIPTION="SELinux tests"
. $TEST_BASE_DIR/test-functions
SETUP_SELINUX=yes
-KERNEL_APPEND="$KERNEL_APPEND selinux=1"
+KERNEL_APPEND="$KERNEL_APPEND selinux=1 security=selinux"
check_result_qemu() {
ret=1