]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/syslog.py: Improve test_syslog_logger on systemd
authorAníbal Limón <anibal.limon@linux.intel.com>
Thu, 11 Aug 2016 20:18:16 +0000 (15:18 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:35:15 +0000 (10:35 +0100)
commit26d7e5060a35d20df6f2586b70ed8d2853cc0186
tree4a2ec33844bb63dbc9c476b8ca0434d75516a421
parent0575e8c9fb52a7b594025fd20445a2edd06e3c69
oeqa/runtime/syslog.py: Improve test_syslog_logger on systemd

When an image uses systemd journald acts as a main syslog daemon using
/dev/log.

The test_syslog_logger try to log a predifined message into the syslog
using logger and then search using grep in /var/log/messages if this
fails for some reason (file rotated) now search the predifined message
into the journal.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/runtime/syslog.py