summaryrefslogtreecommitdiff
path: root/meta/lib
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:43:26 +0100
commitde3de340ba9c86c297bcb9fc1b1022dd05a195e7 (patch)
treecaf65c13aac100d16393450addf55352aa7c3529 /meta/lib
parente8769d52d6d8c67ba18595ebd27f5022bd0e66c4 (diff)
downloadopenembedded-core-de3de340ba9c86c297bcb9fc1b1022dd05a195e7.tar.gz
openembedded-core-de3de340ba9c86c297bcb9fc1b1022dd05a195e7.tar.bz2
openembedded-core-de3de340ba9c86c297bcb9fc1b1022dd05a195e7.zip
wic: Test creation of iso image
Added new wic testcase, for testing the creation of the hybrid iso image with isoimage-isohybrid plugin. Signed-off-by: Mihaly Varga <mihaly.varga@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
-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):
self.assertEqual(0, status)
self.assertEqual(1, len(glob(self.resultdir + \
"%(wks)s-*.direct" % vars)))
+
+ def test18_iso_image(self):
+ """Test creation of hybrid iso imagewith legacy and EFI boot"""
+ self.assertEqual(0, runCmd("wic create mkhybridiso "
+ "--image-name core-image-minimal").status)
+ self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct")))
+ self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.iso")))
+