wic: selftest: add test for sdimage-bootpart
Test creation of sdimage-bootpart image (From OE-Core rev: 8b18568591f66aa9770798bc61123898de92b8a9) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
bed4a13440
commit
09a9de45e1
|
@ -291,3 +291,11 @@ class Wic(oeSelfTest):
|
|||
self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
|
||||
% image).status)
|
||||
self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
|
||||
|
||||
def test_sdimage_bootpart(self):
|
||||
"""Test creation of sdimage-bootpart image"""
|
||||
image = "sdimage-bootpart"
|
||||
self.write_config('IMAGE_BOOT_FILES = "bzImage"\n')
|
||||
self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
|
||||
% image).status)
|
||||
self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
|
||||
|
|
Loading…
Reference in New Issue