diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-06 13:25:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-07 13:08:34 +0100 |
commit | 8753c00f7a6b4a74799d789094c64b91209eaac6 (patch) | |
tree | 21e5863347c7fef9ecdc4d4012119ccfb5d79080 /meta/lib/oeqa/runtime | |
parent | 0a16f83d93fd5bf95952a4645c2135b76122e468 (diff) | |
download | poky-8753c00f7a6b4a74799d789094c64b91209eaac6.tar.gz |
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
(From OE-Core rev: e4eb3ca113985ab2be123eb5b5ea76764761df88)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/oe_syslog.py | 2 |
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): | |||
17 | msg = "Failed to execute %s" % self.tc.target_cmds['ps'] | 17 | msg = "Failed to execute %s" % self.tc.target_cmds['ps'] |
18 | self.assertEqual(status, 0, msg=msg) | 18 | self.assertEqual(status, 0, msg=msg) |
19 | msg = "No syslog daemon process; %s output:\n%s" % (self.tc.target_cmds['ps'], output) | 19 | msg = "No syslog daemon process; %s output:\n%s" % (self.tc.target_cmds['ps'], output) |
20 | hasdaemon = "syslogd" in output or "syslog-ng" in output | 20 | hasdaemon = "syslogd" in output or "syslog-ng" in output or "svlogd" in output |
21 | self.assertTrue(hasdaemon, msg=msg) | 21 | self.assertTrue(hasdaemon, msg=msg) |
22 | 22 | ||
23 | class SyslogTestConfig(OERuntimeTestCase): | 23 | class SyslogTestConfig(OERuntimeTestCase): |