summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-16 16:26:27 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-23 11:38:16 +0100
commit2009df2aa048bb51b7b3050b69a44fe414c4de9d (patch)
treed623bab352645182b118bb1f0e63479c333d8de5
parentebd9f7b1da8ed556e98aab4d5f4e81707ac44b27 (diff)
downloadopenembedded-core-2009df2aa048bb51b7b3050b69a44fe414c4de9d.tar.gz
openembedded-core-2009df2aa048bb51b7b3050b69a44fe414c4de9d.tar.bz2
openembedded-core-2009df2aa048bb51b7b3050b69a44fe414c4de9d.zip
wic: oe-selftest: Add 3 tests of 'wic help' command
Added tests for 'wic test overview', 'wic test plugins' and 'wic test kickstart' commands. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
-rw-r--r--meta/lib/oeqa/selftest/wic.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 5fa190db06..47b70fda2b 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -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)