diff options
author | Costin Constantin <costin.c.constantin@intel.com> | 2015-08-26 15:54:21 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-29 13:38:02 +0100 |
commit | 6de522e1cc4affbde05fc93f6c45b04b30307746 (patch) | |
tree | 5acb1852d2310283e0c7f9f28dd69681a9a17cf6 /meta/lib/oeqa/runtime | |
parent | 393bd7496d71eb101f21234c1233a2d18fd2c73e (diff) | |
download | poky-6de522e1cc4affbde05fc93f6c45b04b30307746.tar.gz |
runtime/syslog.py: fix syslog test crash
This patch fixes the ability to correctly identify syslog's package
name for the built image. It is derived from modifying oeqa/oetest.py
for [YOCTO #8170]
(From OE-Core rev: 74d02c942414a193a01367c0a32bf91a3329a8d4)
Signed-off-by: Costin Constantin <costin.c.constantin@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-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 dbaf8c6253..2601dd9ea8 100644 --- a/meta/lib/oeqa/runtime/syslog.py +++ b/meta/lib/oeqa/runtime/syslog.py | |||
@@ -3,7 +3,7 @@ from oeqa.oetest import oeRuntimeTest, skipModule | |||
3 | from oeqa.utils.decorators import * | 3 | from oeqa.utils.decorators import * |
4 | 4 | ||
5 | def setUpModule(): | 5 | def setUpModule(): |
6 | if not oeRuntimeTest.hasPackage("syslog"): | 6 | if not (oeRuntimeTest.hasPackage("busybox-syslog") or oeRuntimeTest.hasPackage("sysklogd")): |
7 | skipModule("No syslog package in image") | 7 | skipModule("No syslog package in image") |
8 | 8 | ||
9 | class SyslogTest(oeRuntimeTest): | 9 | class SyslogTest(oeRuntimeTest): |