]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/runtime: syslog: update --help test
authorStefan Stanacar <stefanx.stanacar@intel.com>
Mon, 27 Jan 2014 11:23:17 +0000 (13:23 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2014 11:21:56 +0000 (11:21 +0000)
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>
meta/lib/oeqa/runtime/syslog.py

index 91d79635b7c4eb1b7838ffee9ef49230b6866fac..b95b36175a46218c717a9f4bb16c7e6b1ca88551 100644 (file)
@@ -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):