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:59:11 +0100 |
commit | 921ea71607c8d0d9acfca862e326d182b32aab0b (patch) | |
tree | 62015e8236bcc53d1318ca722bfeae2e21578551 | |
parent | ebc69363154925c65f356af934d1923995758106 (diff) | |
download | poky-921ea71607c8d0d9acfca862e326d182b32aab0b.tar.gz |
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>
-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): | |||
73 | "-r tmp/work/qemux86-poky-linux/" | 73 | "-r tmp/work/qemux86-poky-linux/" |
74 | "core-image-minimal/1.0-r0/rootfs").status) | 74 | "core-image-minimal/1.0-r0/rootfs").status) |
75 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) | 75 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) |
76 | |||
77 | def test06_gpt_image(self): | ||
78 | """Test creation of core-image-minimal with gpt table""" | ||
79 | self.assertEqual(0, runCmd("wic create directdisk-gpt " | ||
80 | "--image-name core-image-minimal").status) | ||
81 | self.assertEqual(1, len(glob(self.resultdir + "directdisk-*.direct"))) | ||