summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime/syslog.py
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:22:12 +0000
commita1dff02d0334df85a56d40ab9b69bf30052e02cb (patch)
treef128ad2422add63fdf799dd4de4f2df8532e837d /meta/lib/oeqa/runtime/syslog.py
parent5baa8bea911a075e942fd7af955db5d157c926c8 (diff)
downloadpoky-a1dff02d0334df85a56d40ab9b69bf30052e02cb.tar.gz
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>
Diffstat (limited to 'meta/lib/oeqa/runtime/syslog.py')
-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):
11 @skipUnlessPassed("test_ssh") 11 @skipUnlessPassed("test_ssh")
12 def test_syslog_help(self): 12 def test_syslog_help(self):
13 (status,output) = self.target.run('/sbin/syslogd --help') 13 (status,output) = self.target.run('/sbin/syslogd --help')
14 self.assertEqual(status, 1, msg="status and output: %s and %s" % (status,output)) 14 self.assertEqual(status, 0, msg="status and output: %s and %s" % (status,output))
15 15
16 @skipUnlessPassed("test_syslog_help") 16 @skipUnlessPassed("test_syslog_help")
17 def test_syslog_running(self): 17 def test_syslog_running(self):