summaryrefslogtreecommitdiff
path: root/test/TEST-12-ISSUE-3171
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-01 17:26:36 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-03 18:00:47 +0900
commit056ae88152a722bdbea54ff33db815d585c8b9c6 (patch)
tree8856e1e6e1a99d71c21eac8329ee3fd1c9b4eda2 /test/TEST-12-ISSUE-3171
parentf775f613adaf8fb6005c5082eb387499370c4fd9 (diff)
downloadsystemd-056ae88152a722bdbea54ff33db815d585c8b9c6.tar.gz
test: mask several unnecessary services
This may make CIs run faster.
Diffstat (limited to 'test/TEST-12-ISSUE-3171')
-rwxr-xr-xtest/TEST-12-ISSUE-3171/test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-12-ISSUE-3171/test.sh b/test/TEST-12-ISSUE-3171/test.sh
index 559fa469cd..915cc21cd8 100755
--- a/test/TEST-12-ISSUE-3171/test.sh
+++ b/test/TEST-12-ISSUE-3171/test.sh
@@ -20,6 +20,14 @@ test_setup() {
setup_basic_environment
dracut_install cat mv stat nc
+ # mask some services that we do not want to run in these tests
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-resolved.service
+ ln -fs /dev/null $initdir/etc/systemd/system/systemd-machined.service
+
# setup the testsuite service
cat >$initdir/etc/systemd/system/testsuite.service <<EOF
[Unit]