[oe-commits] Stefan Stanacar : oeqa/runtime: syslog: update --help test

git at git.openembedded.org git at git.openembedded.org
Sun Feb 2 11:26:07 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 1e560d234b6d3040a7a9f0eb023f1e4a654be1ea
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1e560d234b6d3040a7a9f0eb023f1e4a654be1ea

Author: Stefan Stanacar <stefanx.stanacar at intel.com>
Date:   Mon Jan 27 13:23:17 2014 +0200

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 at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/lib/oeqa/runtime/syslog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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):



More information about the Openembedded-commits mailing list