diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-02 17:02:05 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-11 23:55:38 +0100 |
commit | 73762747dfda5013563f15b13bcb19b40d0f69d9 (patch) | |
tree | b5e7510ac96f914c05bf29738b2ee9eeb53b1512 /meta/lib/oeqa/selftest | |
parent | 3d3dad40f3f51070a33e2ba28c0fc14ffcc3c2a5 (diff) | |
download | openembedded-core-73762747dfda5013563f15b13bcb19b40d0f69d9.tar.gz openembedded-core-73762747dfda5013563f15b13bcb19b40d0f69d9.tar.bz2 openembedded-core-73762747dfda5013563f15b13bcb19b40d0f69d9.zip |
wic: Test creation of directdisk image with GPT table
Added new wic testcase to the sute - creation of directdisk-gpt
image.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index a2ce2cb63e..e97dd1dae0 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -73,3 +73,9 @@ class Wic(oeSelfTest): "-r tmp/work/qemux86-poky-linux/" "core-image-minimal/1.0-r0/rootfs").status) 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"))) |