diff options
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 60c8cb3deb..5fa190db06 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -52,7 +52,7 @@ class Wic(oeSelfTest): | |||
52 | 52 | ||
53 | def test02_createhelp(self): | 53 | def test02_createhelp(self): |
54 | """Test wic create --help""" | 54 | """Test wic create --help""" |
55 | self.assertEqual(0, runCmd('wic creat --help').status) | 55 | self.assertEqual(0, runCmd('wic create --help').status) |
56 | 56 | ||
57 | def test03_listhelp(self): | 57 | def test03_listhelp(self): |
58 | """Test wic list --help""" | 58 | """Test wic list --help""" |
@@ -82,3 +82,12 @@ class Wic(oeSelfTest): | |||
82 | self.assertEqual(0, runCmd("wic create directdisk-gpt " | 82 | self.assertEqual(0, runCmd("wic create directdisk-gpt " |
83 | "--image-name core-image-minimal").status) | 83 | "--image-name core-image-minimal").status) |
84 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) | 84 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) |
85 | |||
86 | def test07_unsupported_subcommand(self): | ||
87 | """Test unsupported subcommand""" | ||
88 | self.assertEqual(1, runCmd('wic unsupported', | ||
89 | ignore_status=True).status) | ||
90 | |||
91 | def test08_no_command(self): | ||
92 | """Test wic without command""" | ||
93 | self.assertEqual(1, runCmd('wic', ignore_status=True).status) | ||