From: Frantisek Sumsal Date: Wed, 19 May 2021 08:49:56 +0000 (+0200) Subject: test: reintroduce m4 dependency for TEST-06-SELINUX X-Git-Tag: v249-rc1~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31db4c20ea8e1b6c9f758d8a1e9601d981703ebe;p=thirdparty%2Fsystemd.git test: reintroduce m4 dependency for TEST-06-SELINUX m4 is required to build the test SELinux module: ``` [ 31.321789] sh[483]: /bin/sh: line 1: m4: command not found [ 31.882668] sh[488]: Compiling targeted systemd_test module [ 32.120862] sh[492]: /bin/sh: line 1: m4: command not found [ 32.159897] sh[458]: make: *** [/usr/share/selinux/devel/include/Makefile:156: tmp/systemd_test.mod] Error 127 ``` --- diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh index 421e1fe52db..978c930b71a 100755 --- a/test/TEST-06-SELINUX/test.sh +++ b/test/TEST-06-SELINUX/test.sh @@ -48,7 +48,7 @@ test_append_files() { cp systemd_test.fc "$workspace/systemd-test-module" dracut_install -o sesearch dracut_install runcon - dracut_install checkmodule semodule semodule_package make 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/... )