]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/runtime/syslog.py: Improve test_syslog_logger
authorAníbal Limón <anibal.limon@linux.intel.com>
Wed, 27 Jul 2016 22:40:38 +0000 (17:40 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 1 Aug 2016 10:46:37 +0000 (11:46 +0100)
commitf3fe3590e887ee311f23723103eca41dcf58aa8b
tree892ef7a7bcfde375382670a6c8da348ab21fe064
parent86f016a1a6140e5ef6e9bdb64dd093744eb549ab
oeqa/runtime/syslog.py: Improve test_syslog_logger

Instead of make all the testing in a shell one liner, divide the
test into 3 operations to be able to know in what part is failing.

Parts,
- Log message to syslog
- Review if message exist in /var/log/messages
- Review if message exist using logread

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