Patchwork oeqa/runtime: syslog: update --help test

login
register
mail settings
Submitter Stanacar, StefanX
Date Jan. 27, 2014, 11:23 a.m.
Message ID <1390821797-12265-1-git-send-email-stefanx.stanacar@intel.com>
Download mbox | patch
Permalink /patch/65877/
State New
Headers show

Comments

Stanacar, StefanX - Jan. 27, 2014, 11:23 a.m.
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>
---
 meta/lib/oeqa/runtime/syslog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/lib/oeqa/runtime/syslog.py b/meta/lib/oeqa/runtime/syslog.py
index 91d7963..b95b361 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):