From 4862a4c33a461d0f4dd75843d2f0a8b03a593b05 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 16 Jun 2015 16:26:27 +0300 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/wic.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meta/lib/oeqa/selftest/wic.py') 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) -- cgit v1.2.3-54-g00ecf