summaryrefslogtreecommitdiffstats
path: root/test/TEST-06-SELINUX
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
commit78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch)
treef515d16b6efd858a9aeb5b0ef5d6f90bf288283d /test/TEST-06-SELINUX
parentAdding debian version 255.5-1. (diff)
downloadsystemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz
systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/TEST-06-SELINUX')
-rw-r--r--test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service7
-rw-r--r--test/TEST-06-SELINUX/meson.build13
2 files changed, 20 insertions, 0 deletions
diff --git a/test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service b/test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service
new file mode 100644
index 0000000..94f9b47
--- /dev/null
+++ b/test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Service]
+Type=oneshot
+ExecStart=/bin/echo Start Hola
+ExecReload=/bin/echo Reload Hola
+ExecStop=/bin/echo Stop Hola
+RemainAfterExit=yes
diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build
new file mode 100644
index 0000000..7a850be
--- /dev/null
+++ b/test/TEST-06-SELINUX/meson.build
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+integration_tests += [
+ integration_test_template + {
+ 'name' : fs.name(meson.current_source_dir()),
+ 'cmdline' : integration_test_template['cmdline'] + ['selinux=1', 'lsm=selinux'],
+ # FIXME; Figure out why reboot sometimes hangs with 'linux' firmware.
+ 'firmware' : 'uefi',
+ 'vm' : true,
+ },
+]
+
+testdata_subdirs += [meson.current_source_dir() / 'TEST-06-SELINUX.units']