summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-31 13:19:13 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-03-31 14:37:20 +0200
commit68a7705e351596203a738ca666030dc747077051 (patch)
tree4df5ee036a23cbaee39df6cb531495fee75cee86
parentf1416431b6627b0013d8466c8ae5e315ba27d654 (diff)
downloadsystemd-68a7705e351596203a738ca666030dc747077051.tar.gz
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.
-rwxr-xr-xtest/TEST-06-SELINUX/test.sh4
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/...
)
}