From de3de340ba9c86c297bcb9fc1b1022dd05a195e7 Mon Sep 17 00:00:00 2001 From: Mihaly Varga Date: Thu, 6 Aug 2015 20:04:52 +0300 Subject: 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 --- meta/lib/oeqa/selftest/wic.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta/lib') 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"))) + -- cgit 1.2.3-korg