From 31db4c20ea8e1b6c9f758d8a1e9601d981703ebe Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 19 May 2021 10:49:56 +0200 Subject: [PATCH] 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 ``` --- test/TEST-06-SELINUX/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TEST-06-SELINUX/test.sh b/test/TEST-06-SELINUX/test.sh index 421e1fe52d..978c930b71 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/... )