]> code.ossystems Code Review - openembedded-core.git/commit
oe_syslog.py: fix settings in OEHasPackage decorator
authorChen Qi <Qi.Chen@windriver.com>
Tue, 31 Jul 2018 01:25:01 +0000 (09:25 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jul 2018 21:42:03 +0000 (22:42 +0100)
commit119c22342d446e4f638b8d4c81480ebc7b444245
treee316516f7b878e630e77e092e4a9055435f2872d
parent751fc7802f57a836a0be5fc6a8d5fdf8b1769c39
oe_syslog.py: fix settings in OEHasPackage decorator

1. For test_syslog_running, we should not restrict it to run for
   only busybox-syslog and sysklogd. So extend it to all syslog
   providers in oe-core and meta-openembedded.

2. For test_syslog_startup_config, fix to make it depend on the
   existence of busybox-syslog. The previous condition "!sysklogd
   && busybox" is incorrect, because busybox may be compiled without
   syslog support, and sysklogd and busybox-syslog conflict with
   each other.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/lib/oeqa/runtime/cases/oe_syslog.py