mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
wic: selftest: add test for systemd-bootdisk
Test creation of systemd-bootdisk image. (From OE-Core rev: b8eef88536b944ea35664b9a6a9496fb0a3f7988) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
33bed1e253
commit
bed4a13440
@@ -284,3 +284,10 @@ class Wic(oeSelfTest):
|
||||
self.assertEqual(0, status)
|
||||
self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
|
||||
self.assertEqual(1, len(glob(self.resultdir + "%s-*direct.bmap" % image)))
|
||||
|
||||
def test_systemd_bootdisk(self):
|
||||
"""Test creation of systemd-bootdisk image"""
|
||||
image = "systemd-bootdisk"
|
||||
self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
|
||||
% image).status)
|
||||
self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
|
||||
|
||||
Reference in New Issue
Block a user