Skip to contentSkip to conversation

oeqa: Recognise svlogd as another logger

PATCH New Khem Raj 1 participant 1 message Sep 6, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/lib/oeqa/runtime/cases/oe_syslog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/runtime/cases/oe_syslog.py +1 -1
index 3a8271a53a..f3c2bedbaf 100644
@@ -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):
Signature · 1 line
2.23.0