From: Martin Pitt Date: Thu, 23 Jun 2016 08:25:44 +0000 (+0200) Subject: tests: force booting the kernel with SELinux X-Git-Tag: v231~119^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a415d43655b7b82c475506519dfdad6f9291ac41;p=platform%2Fupstream%2Fsystemd.git 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. --- diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh index 4f5895b..1ae4a7c 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