aboutsummaryrefslogtreecommitdiffstats
path: root/.templateconf
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-08-06 11:17:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-08 10:51:28 +0100
commitb180fbd9d93db1c6351e183fbc08fc81cdc240c0 (patch)
tree19dfd5629bb272461e50e8be4bc9ecd4f8eb96a6 /.templateconf
parentfae23c72288068f90e2f357a8abf1384850c02ed (diff)
downloadopenembedded-core-contrib-b180fbd9d93db1c6351e183fbc08fc81cdc240c0.tar.gz
oe_syslog.py: fix for syslog-ng
When using syslog-ng as the syslog provider, oe_syslog test case fails because it cannot find the syslog daemon. This is because it greps for 'syslogd' but syslog-ng's daemon is 'syslog-ng'. So fix it to check both 'syslogd' and 'syslog-ng'. Also, when the test case fails, what I get is: | AssertionError: 1 != 0 : No syslogd process; ps output: <empty here> This does not help user. The output is actually from the 'PS | GREP' command. And when the 'PS | GREP' command fails, the output is always empty. So also fix this problem. After the change, it looks like: | AssertionError: False is not true : No syslog daemon process; ps output: | PID USER VSZ STAT COMMAND | 1 root 16476 S {systemd} /sbin/init | 2 root 0 SW [kthreadd] | 3 root 0 IW [kworker/0:0] ... Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.templateconf')
0 files changed, 0 insertions, 0 deletions