summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC/test.sh
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-11-19 13:27:39 +0100
committerDaniel Mack <daniel@zonque.org>2015-11-19 17:15:26 +0100
commit6f9d3b08cf3e50d3903282d2ce36244bb86c7b7c (patch)
tree23c43b848bd12e76df445199aae994c3b71ad042 /test/TEST-01-BASIC/test.sh
parent3f5c306d3810673364f8eae662f3735ffd645a1d (diff)
test: 01-basic: mask some services that currently don't run in qemu
Diffstat (limited to 'test/TEST-01-BASIC/test.sh')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index b6b474393d..c709993638 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -61,6 +61,13 @@ EOF
)
setup_nspawn_root
+ # mask some services that we do not want to run in these tests
+ ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
+ ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
+ ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.service
+ ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
+ ln -s /dev/null $initdir/etc/systemd/system/systemd-resolved.service
+
ddebug "umount $TESTDIR/root"
umount $TESTDIR/root
}