summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2024-04-30 18:39:52 +0200
committerRichard Maw <richard.maw@codethink.co.uk>2024-05-03 13:57:11 +0200
commitab9d60250e0349a267902a8d7d5f5403491ab2a7 (patch)
treee379d2c544c38fc3578a65e5b8af8eb5f43a430a
parentmkosi: Disable selinux labelling and install policy in initramfs (diff)
downloadsystemd-ab9d60250e0349a267902a8d7d5f5403491ab2a7.tar.xz
systemd-ab9d60250e0349a267902a8d7d5f5403491ab2a7.zip
test: Enable TEST-06-SELINUX testing with mkosi
-rw-r--r--test/TEST-06-SELINUX/meson.build5
-rw-r--r--test/meson.build2
2 files changed, 6 insertions, 1 deletions
diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build
new file mode 100644
index 0000000000..50247d3e47
--- /dev/null
+++ b/test/TEST-06-SELINUX/meson.build
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+test_params += {
+ 'mkosi_args' : ['--kernel-command-line-extra=apparmor=0 selinux=1 enforcing=0 lsm=selinux systemd.wants=autorelabel.service systemd.wants=firstboot-autorelabel.service'],
+}
diff --git a/test/meson.build b/test/meson.build
index 705762d533..95136c7e02 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -341,7 +341,7 @@ integration_tests = {
'03': 'TEST-03-JOBS',
# '04': 'TEST-04-JOURNAL', # Extremely flaky
'05': 'TEST-05-RLIMITS',
- # '06': 'TEST-06-SELINUX',
+ '06': 'TEST-06-SELINUX',
# '07': 'TEST-07-PID1',
# '08': 'TEST-08-INITRD',
'09': 'TEST-09-REBOOT',