daandemeyer / rpms / systemd

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