File 0004-sysv-generator-test-multiple-LSB-macro-deps-add-Want.patch of Package systemd-v237-testsuite

From 2aeb62528d037752eb901555418045e482361e15 Mon Sep 17 00:00:00 2001
From: Sergio Lindo Mansilla <slindomansilla@suse.com>
Date: Fri, 15 Jun 2018 16:58:34 +0200
Subject: [PATCH 04/11] sysv-generator-test: multiple LSB macro deps add Wants

---
 test/sysv-generator-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py
index 0b4710aea..c384cf2fc 100755
--- a/test/sysv-generator-test.py
+++ b/test/sysv-generator-test.py
@@ -236,7 +236,7 @@ class SysvGeneratorTest(unittest.TestCase):
         self.add_sysv('foo', {'Required-Start': '$named $portmap'})
         s = self.run_generator()[1]['foo.service']
         self.assertEqual(set(s.options('Unit')),
-                         set(['Documentation', 'SourcePath', 'Description', 'After']))
+                         set(['Documentation', 'SourcePath', 'Description', 'After', 'Wants']))
         self.assertEqual(s.get('Unit', 'After').split(), ['nss-lookup.target', 'rpcbind.target'])
 
     def test_lsb_deps(self):
-- 
2.13.7

openSUSE Build Service is sponsored by