summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-02-05 16:57:30 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-02-05 16:57:30 +0100
commitcd2d8fea141761785195c53658a499006c19210b (patch)
treecfd3f5382ae09a858ebf087f60d591c8dca06f74
parentca9fab8896995b1766787b70963ea752cbb68939 (diff)
downloadsystemd-cd2d8fea141761785195c53658a499006c19210b.tar.gz
test: clean the module build dir before compiling it
otherwise the module won't compile & load after autorelabel reboot, since the target is already built.
-rw-r--r--test/testsuite-06.units/load-systemd-test-module.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsuite-06.units/load-systemd-test-module.service b/test/testsuite-06.units/load-systemd-test-module.service
index 323a76c68d..335f38c5b4 100644
--- a/test/testsuite-06.units/load-systemd-test-module.service
+++ b/test/testsuite-06.units/load-systemd-test-module.service
@@ -8,7 +8,7 @@ Before=sysinit.target shutdown.target autorelabel.service
ConditionSecurity=selinux
[Service]
-ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/share/selinux/devel/Makefile load'
+ExecStart=sh -x -c 'echo 0 >/sys/fs/selinux/enforce && cd /systemd-test-module && make -f /usr/share/selinux/devel/Makefile clean load'
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes