diff options
Diffstat (limited to 'test/TEST-06-SELINUX')
-rw-r--r-- | test/TEST-06-SELINUX/TEST-06-SELINUX.units/hola.service | 7 | ||||
-rw-r--r-- | test/TEST-06-SELINUX/meson.build | 13 |
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'] |