summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/syslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py
index 202a63f2af..cce3c221d6 100644
--- a/meta/lib/oeqa/runtime/syslog.py
+++ b/meta/lib/oeqa/runtime/syslog.py
@@ -22,7 +22,7 @@ class SyslogTestConfig(oeRuntimeTest):
22 self.assertEqual(status, 0, msg="Can't log into syslog. Output: %s " % output) 22 self.assertEqual(status, 0, msg="Can't log into syslog. Output: %s " % output)
23 23
24 (status, output) = self.target.run('grep foobar /var/log/messages') 24 (status, output) = self.target.run('grep foobar /var/log/messages')
25 if status != 0: 25 if status != 0 and not oeRuntimeTest.tc.d.getVar("VIRTUAL-RUNTIME_init_manager", "") == "systemd":
26 (status, output) = self.target.run('logread | grep foobar') 26 (status, output) = self.target.run('logread | grep foobar')
27 self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages or logread. Output: %s " % output) 27 self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages or logread. Output: %s " % output)
28 28