summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/lib/oeqa/selftest/wic.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 817a820450..3dc54a4c6d 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -213,3 +213,24 @@ class Wic(oeSelfTest):
213 path = prefix + suffix 213 path = prefix + suffix
214 self.assertTrue(os.path.islink(path)) 214 self.assertTrue(os.path.islink(path))
215 self.assertTrue(os.path.isfile(os.path.realpath(path))) 215 self.assertTrue(os.path.isfile(os.path.realpath(path)))
216
217 def test21_qemux86_directdisk(self):
218 """Test creation of qemux-86-directdisk image"""
219 image = "qemux86-directdisk"
220 self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
221 % image).status)
222 self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
223
224 def test22_mkgummidisk(self):
225 """Test creation of mkgummidisk image"""
226 image = "mkgummidisk"
227 self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
228 % image).status)
229 self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
230
231 def test23_mkefidisk(self):
232 """Test creation of mkefidisk image"""
233 image = "mkefidisk"
234 self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
235 % image).status)
236 self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))