aboutsummaryrefslogtreecommitdiff
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
parentMerge pull request #1976 from ssahani/word3 (diff)
parenttest: 01-basic: mask some services that currently don't run in qemu (diff)
downloadsystemd-8c191eecd403e1759789b70fb0b7283fd22c2b32.tar.gz
systemd-8c191eecd403e1759789b70fb0b7283fd22c2b32.tar.bz2
systemd-8c191eecd403e1759789b70fb0b7283fd22c2b32.zip
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 f93ea934f..6ad2f3402 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
}