aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-09-06 13:25:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-07 13:08:27 +0100
commite4eb3ca113985ab2be123eb5b5ea76764761df88 (patch)
tree64b957922a6b3c935c274b5664b8db15075ff0a6
parent06eb03ad1c0357731496531b290a0a2fdfd10f48 (diff)
downloadopenembedded-core-contrib-e4eb3ca113985ab2be123eb5b5ea76764761df88.tar.gz
openembedded-core-contrib-e4eb3ca113985ab2be123eb5b5ea76764761df88.tar.bz2
openembedded-core-contrib-e4eb3ca113985ab2be123eb5b5ea76764761df88.zip
oeqa: Recognise svlogd as another logger
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>
-rw-r--r--meta/lib/oeqa/runtime/cases/oe_syslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/cases/oe_syslog.py b/meta/lib/oeqa/runtime/cases/oe_syslog.py
index 3a8271a53a..f3c2bedbaf 100644
--- a/meta/lib/oeqa/runtime/cases/oe_syslog.py
+++ b/meta/lib/oeqa/runtime/cases/oe_syslog.py
@@ -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):