mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
oeqa/runtime: syslog: update --help test
busybox 1.22 now returns exitcode 0 instead of 1 for --help options, so this test needs to be updated when busybox gets upgraded to 1.22. https://bugs.busybox.net/show_bug.cgi?id=5612 http://git.busybox.net/busybox/commit/?id=efd0698f74caab0a0c8a51228b923ee142e8e278 (From OE-Core rev: 1e560d234b6d3040a7a9f0eb023f1e4a654be1ea) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5baa8bea91
commit
a1dff02d03
@@ -11,7 +11,7 @@ class SyslogTest(oeRuntimeTest):
|
||||
@skipUnlessPassed("test_ssh")
|
||||
def test_syslog_help(self):
|
||||
(status,output) = self.target.run('/sbin/syslogd --help')
|
||||
self.assertEqual(status, 1, msg="status and output: %s and %s" % (status,output))
|
||||
self.assertEqual(status, 0, msg="status and output: %s and %s" % (status,output))
|
||||
|
||||
@skipUnlessPassed("test_syslog_help")
|
||||
def test_syslog_running(self):
|
||||
|
||||
Reference in New Issue
Block a user