Recently syslog behaviour changed for systemd images (log it's in a buffer not in /var/log/messages), account for the new stuff.
Signed-off-by: Stefan Stanacar <[email protected]> --- meta/lib/oeqa/runtime/syslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py index 5ff2962..14d94fd 100644 --- a/meta/lib/oeqa/runtime/syslog.py +++ b/meta/lib/oeqa/runtime/syslog.py @@ -23,7 +23,7 @@ class SyslogTestConfig(oeRuntimeTest): @skipUnlessPassed("test_syslog_running") def test_syslog_logger(self): - (status,output) = self.target.run('logger foobar && grep foobar /var/log/messages') + (status,output) = self.target.run('logger foobar && test -e /var/log/messages && grep foobar /var/log/messages || logread | grep') self.assertEqual(status, 0, msg="Test log string not found in /var/log/messages. Output: %s " % output) @skipUnlessPassed("test_syslog_running") -- 1.8.3.1 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
