summaryrefslogtreecommitdiff
path: root/test/TEST-20-MAINPIDGAMES/test.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-05 23:14:42 +0300
committerGitHub <noreply@github.com>2018-11-05 23:14:42 +0300
commit8912a99cea2c05b66ba78809eef199d04c6b862e (patch)
treeb406ebafe69e423f83abf2602d51c124dd3ada88 /test/TEST-20-MAINPIDGAMES/test.sh
parenta54e373163b79574a8799f6350cb3a4c318c57ee (diff)
parented94652a337eeb63eb05c8fb3e2ea6cb854cda19 (diff)
downloadsystemd-8912a99cea2c05b66ba78809eef199d04c6b862e.tar.gz
Merge pull request #10606 from yuwata/udev-tests
test: mask hwdb-update.services in most tests
Diffstat (limited to 'test/TEST-20-MAINPIDGAMES/test.sh')
-rwxr-xr-xtest/TEST-20-MAINPIDGAMES/test.sh8
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]