summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-24 15:02:20 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-24 15:02:20 +0100
commit8c191eecd403e1759789b70fb0b7283fd22c2b32 (patch)
tree01feb9633f679e6c33fd07acfed5bc038bfe316f /test/TEST-01-BASIC
parente3d85eeae2eba1e4e995cb6d6e84ce295bc1704d (diff)
parent6f9d3b08cf3e50d3903282d2ce36244bb86c7b7c (diff)
Merge pull request #1957 from zonque/qemu-test
test: make QEMU tests work on Semaphore
Diffstat (limited to 'test/TEST-01-BASIC')
-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 f93ea934fb..6ad2f3402b 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
}