]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: reintroduce m4 dependency for TEST-06-SELINUX
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 19 May 2021 08:49:56 +0000 (10:49 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 19 May 2021 11:01:07 +0000 (13:01 +0200)
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

index 421e1fe52db19feea45db08bfd6d260947469e81..978c930b71ac00872fec3a9a36f4d18c40f124e4 100755 (executable)
@@ -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/...
     )