From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service | 7 +++++++ test/TEST-06-SELINUX/meson.build | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service create mode 100644 test/TEST-06-SELINUX/meson.build (limited to 'test/TEST-06-SELINUX') 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'] -- cgit v1.2.3