diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-01 09:26:36 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-03 10:00:47 +0100 |
commit | 056ae88152a722bdbea54ff33db815d585c8b9c6 (patch) | |
tree | 8856e1e6e1a99d71c21eac8329ee3fd1c9b4eda2 /test/TEST-20-MAINPIDGAMES | |
parent | test: increase timeout for TEST-17-UDEV-WANTS (diff) | |
download | systemd-056ae88152a722bdbea54ff33db815d585c8b9c6.tar.xz systemd-056ae88152a722bdbea54ff33db815d585c8b9c6.zip |
test: mask several unnecessary services
This may make CIs run faster.
Diffstat (limited to 'test/TEST-20-MAINPIDGAMES')
-rwxr-xr-x | test/TEST-20-MAINPIDGAMES/test.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/TEST-20-MAINPIDGAMES/test.sh b/test/TEST-20-MAINPIDGAMES/test.sh index b14083a256..4ec8081478 100755 --- a/test/TEST-20-MAINPIDGAMES/test.sh +++ b/test/TEST-20-MAINPIDGAMES/test.sh @@ -17,6 +17,14 @@ test_setup() { setup_basic_environment + # 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] |