]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa: Recognise svlogd as another logger
authorKhem Raj <raj.khem@gmail.com>
Fri, 6 Sep 2019 20:25:51 +0000 (13:25 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Sep 2019 12:08:27 +0000 (13:08 +0100)
This is provided by runit which another init system like systemd,
sysvinit, this lets oeqa run on systems which are using runit

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/oe_syslog.py

index 3a8271a53a80989af3a33d626ad58ae61df52dd3..f3c2bedbaf99dfd07f938351a75c655dd774da36 100644 (file)
@@ -17,7 +17,7 @@ class SyslogTest(OERuntimeTestCase):
         msg = "Failed to execute %s" % self.tc.target_cmds['ps']
         self.assertEqual(status, 0, msg=msg)
         msg = "No syslog daemon process; %s output:\n%s" % (self.tc.target_cmds['ps'], output)
-        hasdaemon = "syslogd" in output or "syslog-ng" in output
+        hasdaemon = "syslogd" in output or "syslog-ng" in output or "svlogd" in output
         self.assertTrue(hasdaemon, msg=msg)
 
 class SyslogTestConfig(OERuntimeTestCase):