summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/syslog.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime/syslog.py')
-rw-r--r--meta/lib/oeqa/runtime/syslog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py
index b95b36175a..7fa018e97f 100644
--- a/meta/lib/oeqa/runtime/syslog.py
+++ b/meta/lib/oeqa/runtime/syslog.py
@@ -13,6 +13,7 @@ class SyslogTest(oeRuntimeTest):
13 (status,output) = self.target.run('/sbin/syslogd --help') 13 (status,output) = self.target.run('/sbin/syslogd --help')
14 self.assertEqual(status, 0, msg="status and output: %s and %s" % (status,output)) 14 self.assertEqual(status, 0, msg="status and output: %s and %s" % (status,output))
15 15
16 @testcase(201)
16 @skipUnlessPassed("test_syslog_help") 17 @skipUnlessPassed("test_syslog_help")
17 def test_syslog_running(self): 18 def test_syslog_running(self):
18 (status,output) = self.target.run(oeRuntimeTest.pscmd + ' | grep -i [s]yslogd') 19 (status,output) = self.target.run(oeRuntimeTest.pscmd + ' | grep -i [s]yslogd')
@@ -33,6 +34,7 @@ class SyslogTestConfig(oeRuntimeTest):
33 else: 34 else:
34 (status,output) = self.target.run('systemctl restart syslog.service') 35 (status,output) = self.target.run('systemctl restart syslog.service')
35 36
37 @testcase(202)
36 @skipUnlessPassed("test_syslog_restart") 38 @skipUnlessPassed("test_syslog_restart")
37 @skipUnlessPassed("test_syslog_logger") 39 @skipUnlessPassed("test_syslog_logger")
38 @unittest.skipIf("systemd" == oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager"), "Not appropiate for systemd image") 40 @unittest.skipIf("systemd" == oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager"), "Not appropiate for systemd image")