summaryrefslogtreecommitdiff
path: root/test/TEST-11-ISSUE-3166/test.sh
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-01 17:26:36 +0900
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>2019-10-22 16:30:21 +0200
commitc748b95f5a00b6d9c46026c3d251c40437e6b64a (patch)
treeae6e92d578718d44e28ebcf8c68f05016eef1d32 /test/TEST-11-ISSUE-3166/test.sh
parenta7f18f9ef4abc7e0732d1710ead2a18a38c3ec6d (diff)
downloadsystemd-c748b95f5a00b6d9c46026c3d251c40437e6b64a.tar.gz
test: mask several unnecessary services
This may make CIs run faster. (cherry picked from commit 056ae88152a722bdbea54ff33db815d585c8b9c6) Related: #1761519
Diffstat (limited to 'test/TEST-11-ISSUE-3166/test.sh')
-rwxr-xr-xtest/TEST-11-ISSUE-3166/test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-11-ISSUE-3166/test.sh b/test/TEST-11-ISSUE-3166/test.sh
index 8aae4d5ed9..e6e96101aa 100755
--- a/test/TEST-11-ISSUE-3166/test.sh
+++ b/test/TEST-11-ISSUE-3166/test.sh
@@ -20,6 +20,14 @@ test_setup() {
setup_basic_environment
dracut_install false touch
+ # 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]