summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihaly Varga <mihaly.varga@ni.com>2015-08-06 20:04:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:46:56 +0100
commite4cb847b3263a82efdee47ae474172f0844c7152 (patch)
tree0c3cf22174fc646ae47ce3c74288c9d7e09a2cc8
parent1308e30379921ff012d3a0530be9afb772c8324c (diff)
downloadpoky-e4cb847b3263a82efdee47ae474172f0844c7152.tar.gz
wic: Test creation of iso image
Added new wic testcase, for testing the creation of the hybrid iso image with isoimage-isohybrid plugin. (From OE-Core rev: de3de340ba9c86c297bcb9fc1b1022dd05a195e7) Signed-off-by: Mihaly Varga <mihaly.varga@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/wic.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 0c503ef53a..117bd9dd8e 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -160,3 +160,11 @@ class Wic(oeSelfTest):
160 self.assertEqual(0, status) 160 self.assertEqual(0, status)
161 self.assertEqual(1, len(glob(self.resultdir + \ 161 self.assertEqual(1, len(glob(self.resultdir + \
162 "%(wks)s-*.direct" % vars))) 162 "%(wks)s-*.direct" % vars)))
163
164 def test18_iso_image(self):
165 """Test creation of hybrid iso imagewith legacy and EFI boot"""
166 self.assertEqual(0, runCmd("wic create mkhybridiso "
167 "--image-name core-image-minimal").status)
168 self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct")))
169 self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.iso")))
170