summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-01-27 13:23:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:21:56 +0000
commit1e560d234b6d3040a7a9f0eb023f1e4a654be1ea (patch)
tree15d58ab0544bed0ab48f3260c47f18671dc1dcd1 /meta/lib
parent9e6e2aee21ff59687ddfd0e23fd0add9ee81d397 (diff)
downloadopenembedded-core-1e560d234b6d3040a7a9f0eb023f1e4a654be1ea.tar.gz
openembedded-core-1e560d234b6d3040a7a9f0eb023f1e4a654be1ea.tar.bz2
openembedded-core-1e560d234b6d3040a7a9f0eb023f1e4a654be1ea.zip
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 Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/syslog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py
index 91d79635b7..b95b36175a 100644
--- a/meta/lib/oeqa/runtime/syslog.py
+++ b/meta/lib/oeqa/runtime/syslog.py
@@ -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):