mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
393bd7496d
commit
6de522e1cc
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user