summaryrefslogtreecommitdiffstats
path: root/meta/lib
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:47:35 +0100
commit4862a4c33a461d0f4dd75843d2f0a8b03a593b05 (patch)
tree200592b1be752dcc13bb8c7911c4ef513fe505f2 /meta/lib
parent40764a309d7f20421ca199e2283070bb561bf8c3 (diff)
downloadpoky-4862a4c33a461d0f4dd75843d2f0a8b03a593b05.tar.gz
wic: oe-selftest: Add 3 tests of 'wic help' command
Added tests for 'wic test overview', 'wic test plugins' and 'wic test kickstart' commands. (From OE-Core rev: 2009df2aa048bb51b7b3050b69a44fe414c4de9d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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):
91 def test08_no_command(self): 91 def test08_no_command(self):
92 """Test wic without command""" 92 """Test wic without command"""
93 self.assertEqual(1, runCmd('wic', ignore_status=True).status) 93 self.assertEqual(1, runCmd('wic', ignore_status=True).status)
94
95 def test09_help_kickstart(self):
96 """Test wic help overview"""
97 self.assertEqual(0, runCmd('wic help overview').status)
98
99 def test10_help_plugins(self):
100 """Test wic help plugins"""
101 self.assertEqual(0, runCmd('wic help plugins').status)
102
103 def test11_help_kickstart(self):
104 """Test wic help kickstart"""
105 self.assertEqual(0, runCmd('wic help kickstart').status)