[oe-commits] Costin Constantin : runtime/syslog.py: fix syslog test crash
git at git.openembedded.org
git at git.openembedded.org
Sun Aug 30 11:49:29 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 74d02c942414a193a01367c0a32bf91a3329a8d4
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=74d02c942414a193a01367c0a32bf91a3329a8d4
Author: Costin Constantin <costin.c.constantin at intel.com>
Date: Wed Aug 26 15:54:21 2015 +0300
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]
Signed-off-by: Costin Constantin <costin.c.constantin at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/runtime/syslog.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py
index dbaf8c6..2601dd9 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):
More information about the Openembedded-commits
mailing list