diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/runtime/syslog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py index 5ff29620cb..91d79635b7 100644 --- a/meta/lib/oeqa/runtime/syslog.py +++ b/meta/lib/oeqa/runtime/syslog.py | |||
@@ -23,7 +23,7 @@ class SyslogTestConfig(oeRuntimeTest): | |||
23 | 23 | ||
24 | @skipUnlessPassed("test_syslog_running") | 24 | @skipUnlessPassed("test_syslog_running") |
25 | def test_syslog_logger(self): | 25 | def test_syslog_logger(self): |
26 | (status,output) = self.target.run('logger foobar && grep foobar /var/log/messages') | 26 | (status,output) = self.target.run('logger foobar && test -e /var/log/messages && grep foobar /var/log/messages || logread | grep foobar') |
27 | self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages. Output: %s " % output) | 27 | self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages. Output: %s " % output) |
28 | 28 | ||
29 | @skipUnlessPassed("test_syslog_running") | 29 | @skipUnlessPassed("test_syslog_running") |