mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
wic: Test creation of directdisk image with GPT table
Added new wic testcase to the sute - creation of directdisk-gpt image. (From OE-Core rev: 73762747dfda5013563f15b13bcb19b40d0f69d9) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ebc6936315
commit
921ea71607
@@ -73,3 +73,9 @@ class Wic(oeSelfTest):
|
|||||||
"-r tmp/work/qemux86-poky-linux/"
|
"-r tmp/work/qemux86-poky-linux/"
|
||||||
"core-image-minimal/1.0-r0/rootfs").status)
|
"core-image-minimal/1.0-r0/rootfs").status)
|
||||||
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
|
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
|
||||||
|
|
||||||
|
def test06_gpt_image(self):
|
||||||
|
"""Test creation of core-image-minimal with gpt table"""
|
||||||
|
self.assertEqual(0, runCmd("wic create directdisk-gpt "
|
||||||
|
"--image-name core-image-minimal").status)
|
||||||
|
self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct")))
|
||||||
|
|||||||
Reference in New Issue
Block a user