summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/systemd.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/systemd.py')
-rw-r--r--meta/lib/oeqa/runtime/systemd.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/systemd.py b/meta/lib/oeqa/runtime/systemd.py
index 6de84f891b..1451698bb3 100644
--- a/meta/lib/oeqa/runtime/systemd.py
+++ b/meta/lib/oeqa/runtime/systemd.py
@@ -28,6 +28,7 @@ class SystemdBasicTests(SystemdTest):
28 def test_systemd_basic(self): 28 def test_systemd_basic(self):
29 self.systemctl('--version') 29 self.systemctl('--version')
30 30
31 @testcase(551)
31 @skipUnlessPassed('test_system_basic') 32 @skipUnlessPassed('test_system_basic')
32 def test_systemd_list(self): 33 def test_systemd_list(self):
33 self.systemctl('list-unit-files') 34 self.systemctl('list-unit-files')
@@ -51,6 +52,7 @@ class SystemdBasicTests(SystemdTest):
51 return (False, output) 52 return (False, output)
52 time.sleep(10) 53 time.sleep(10)
53 54
55 @testcase(550)
54 @skipUnlessPassed('test_systemd_basic') 56 @skipUnlessPassed('test_systemd_basic')
55 def test_systemd_failed(self): 57 def test_systemd_failed(self):
56 settled, output = self.settle() 58 settled, output = self.settle()
@@ -69,6 +71,7 @@ class SystemdServiceTests(SystemdTest):
69 def test_systemd_status(self): 71 def test_systemd_status(self):
70 self.systemctl('status --full', 'avahi-daemon.service') 72 self.systemctl('status --full', 'avahi-daemon.service')
71 73
74 @testcase(695)
72 @skipUnlessPassed('test_systemd_status') 75 @skipUnlessPassed('test_systemd_status')
73 def test_systemd_stop_start(self): 76 def test_systemd_stop_start(self):
74 self.systemctl('stop', 'avahi-daemon.service') 77 self.systemctl('stop', 'avahi-daemon.service')
@@ -76,6 +79,7 @@ class SystemdServiceTests(SystemdTest):
76 self.systemctl('start','avahi-daemon.service') 79 self.systemctl('start','avahi-daemon.service')
77 self.systemctl('is-active', 'avahi-daemon.service', verbose=True) 80 self.systemctl('is-active', 'avahi-daemon.service', verbose=True)
78 81
82 @testcase(696)
79 @skipUnlessPassed('test_systemd_basic') 83 @skipUnlessPassed('test_systemd_basic')
80 def test_systemd_disable_enable(self): 84 def test_systemd_disable_enable(self):
81 self.systemctl('disable', 'avahi-daemon.service') 85 self.systemctl('disable', 'avahi-daemon.service')