]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/TEST-08-ISSUE-2730/test.sh
test: add function to reduce copied setup boilerplate
[thirdparty/systemd.git] / test / TEST-08-ISSUE-2730 / test.sh
index 8643842e8104a11d2f2aabcdafe31e8594689a0e..a9e6ffa79df1cad0e16725cfa430593105f2a62b 100755 (executable)
@@ -64,12 +64,7 @@ EOF
     mkdir -p $initdir/etc/systemd/system/local-fs.target.wants
     ln -s /etc/systemd/system/-.mount $initdir/etc/systemd/system/local-fs.target.wants/-.mount
 
-    # 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
+    mask_supporting_services
 }
 
 do_test "$@"