]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Enable TEST-06-SELINUX testing with mkosi 32588/head
authorRichard Maw <richard.maw@codethink.co.uk>
Tue, 30 Apr 2024 16:39:52 +0000 (17:39 +0100)
committerRichard Maw <richard.maw@codethink.co.uk>
Fri, 3 May 2024 11:57:11 +0000 (12:57 +0100)
test/TEST-06-SELINUX/meson.build [new file with mode: 0644]
test/meson.build

diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build
new file mode 100644 (file)
index 0000000..50247d3
--- /dev/null
@@ -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'],
+}
index 705762d53359005cf4b4aadc6391b1182cee42f2..95136c7e02857e5e6a72c561ef96b4b27b28e05e 100644 (file)
@@ -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',