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>
This commit is contained in:
parent
1308e30379
commit
e4cb847b32
|
@ -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")))
|
||||
|
||||
|
|
Loading…
Reference in New Issue