diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-31 13:19:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-31 14:37:20 +0200 |
commit | 68a7705e351596203a738ca666030dc747077051 (patch) | |
tree | 4df5ee036a23cbaee39df6cb531495fee75cee86 /test/TEST-06-SELINUX | |
parent | test: optionally print the journal after tests (diff) | |
download | systemd-68a7705e351596203a738ca666030dc747077051.tar.xz systemd-68a7705e351596203a738ca666030dc747077051.zip |
TEST-06-*: also try the installation path for Debian
https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/tests/upstream
used sed to adjust the path. I think it's better to make our script more
flexible.
Diffstat (limited to 'test/TEST-06-SELINUX')
-rwxr-xr-x | test/TEST-06-SELINUX/test.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh index 7a836bbc03..0acd7a10e8 100755 --- a/test/TEST-06-SELINUX/test.sh +++ b/test/TEST-06-SELINUX/test.sh @@ -46,7 +46,9 @@ test_create_image() { cp systemd_test.if $initdir/systemd-test-module dracut_install -o sesearch dracut_install runcon - dracut_install checkmodule semodule semodule_package m4 make /usr/libexec/selinux/hll/pp load_policy sefcontext_compile + dracut_install checkmodule semodule semodule_package m4 make load_policy sefcontext_compile + dracut_install -o /usr/libexec/selinux/hll/pp # Fedora/RHEL/... + dracut_install -o /usr/lib/selinux/hll/pp # Debian/Ubuntu/... ) } |