]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: oe-selftest: Add 3 tests of 'wic help' command
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 16 Jun 2015 13:26:27 +0000 (16:26 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Jun 2015 10:38:16 +0000 (11:38 +0100)
Added tests for 'wic test overview', 'wic test plugins' and
'wic test kickstart' commands.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
meta/lib/oeqa/selftest/wic.py

index 5fa190db068661e2698c586158352c881764fe7e..47b70fda2b0ac5c9c3142345039984951ff70e95 100644 (file)
@@ -91,3 +91,15 @@ class Wic(oeSelfTest):
     def test08_no_command(self):
         """Test wic without command"""
         self.assertEqual(1, runCmd('wic', ignore_status=True).status)
+
+    def test09_help_kickstart(self):
+        """Test wic help overview"""
+        self.assertEqual(0, runCmd('wic help overview').status)
+
+    def test10_help_plugins(self):
+        """Test wic help plugins"""
+        self.assertEqual(0, runCmd('wic help plugins').status)
+
+    def test11_help_kickstart(self):
+        """Test wic help kickstart"""
+        self.assertEqual(0, runCmd('wic help kickstart').status)