teknoraver / rpms / systemd

Forked from rpms/systemd 3 months ago
Clone

Blame SOURCES/0671-test-01-basic-mask-some-services-that-currently-don-.patch

923a60
From 5daaf2b0fd5086aa281f44c665513a7de8f403e1 Mon Sep 17 00:00:00 2001
923a60
From: Daniel Mack <daniel@zonque.org>
923a60
Date: Thu, 19 Nov 2015 13:27:39 +0100
923a60
Subject: [PATCH] test: 01-basic: mask some services that currently don't run
923a60
 in qemu
923a60
923a60
Cherry-picked from: 6f9d3b08cf3e50d3903282d2ce36244bb86c7b7c
923a60
---
923a60
 test/TEST-01-BASIC/test.sh | 7 +++++++
923a60
 1 file changed, 7 insertions(+)
923a60
923a60
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
923a60
index d97fbe24d4..ee9c66aba8 100755
923a60
--- a/test/TEST-01-BASIC/test.sh
923a60
+++ b/test/TEST-01-BASIC/test.sh
923a60
@@ -61,6 +61,13 @@ EOF
923a60
     )
923a60
     setup_nspawn_root
923a60
 
923a60
+    # mask some services that we do not want to run in these tests
923a60
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-hwdb-update.service
923a60
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-journal-catalog-update.service
923a60
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.service
923a60
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
923a60
+    ln -s /dev/null $initdir/etc/systemd/system/systemd-resolved.service
923a60
+
923a60
     ddebug "umount $TESTDIR/root"
923a60
     umount $TESTDIR/root
923a60
 }