]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-02-CRYPTSETUP/test.sh
test: mask several unnecessary services
[thirdparty/systemd.git] / test / TEST-02-CRYPTSETUP / test.sh
index 545602e17a7745a5fe674de042142af716c6cce8..71709f7d58d4b6a1e19def7b8ba6f88aac57dbfc 100755 (executable)
@@ -45,6 +45,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]