diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-01 17:26:36 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-03 18:00:47 +0900 |
commit | 056ae88152a722bdbea54ff33db815d585c8b9c6 (patch) | |
tree | 8856e1e6e1a99d71c21eac8329ee3fd1c9b4eda2 /test/TEST-13-NSPAWN-SMOKE | |
parent | f775f613adaf8fb6005c5082eb387499370c4fd9 (diff) | |
download | systemd-056ae88152a722bdbea54ff33db815d585c8b9c6.tar.gz |
test: mask several unnecessary services
This may make CIs run faster.
Diffstat (limited to 'test/TEST-13-NSPAWN-SMOKE')
-rwxr-xr-x | test/TEST-13-NSPAWN-SMOKE/test.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-13-NSPAWN-SMOKE/test.sh b/test/TEST-13-NSPAWN-SMOKE/test.sh index f485a9259c..0659a68cf0 100755 --- a/test/TEST-13-NSPAWN-SMOKE/test.sh +++ b/test/TEST-13-NSPAWN-SMOKE/test.sh @@ -20,6 +20,14 @@ test_setup() { setup_basic_environment dracut_install busybox chmod rmdir unshare ip + # 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 + cp create-busybox-container $initdir/ ./create-busybox-container $initdir/nc-container |