From 6de522e1cc4affbde05fc93f6c45b04b30307746 Mon Sep 17 00:00:00 2001 From: Costin Constantin Date: Wed, 26 Aug 2015 15:54:21 +0300 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oeqa/runtime/syslog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oeqa/runtime/syslog.py') 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 from oeqa.utils.decorators import * def setUpModule(): - if not oeRuntimeTest.hasPackage("syslog"): + if not (oeRuntimeTest.hasPackage("busybox-syslog") or oeRuntimeTest.hasPackage("sysklogd")): skipModule("No syslog package in image") class SyslogTest(oeRuntimeTest): -- cgit v1.2.3-54-g00ecf