From: Mihaly Varga Date: Thu, 6 Aug 2015 17:04:52 +0000 (+0300) Subject: wic: Test creation of iso image X-Git-Tag: 2015-10~800 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=de3de340ba9c86c297bcb9fc1b1022dd05a195e7;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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"))) +