Openembedded Core Discussions
 help / color / mirror / Atom feed
* [wic][PATCH] wic: selftest: add test for mksystemd-bootdisk
@ 2016-09-29  8:38 Ed Bartosh
  2016-09-29 14:48 ` Burton, Ross
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Bartosh @ 2016-09-29  8:38 UTC (permalink / raw)
  To: openembedded-core

Test creation of mksystemd-bootdisk image.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 meta/lib/oeqa/selftest/wic.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index e550785..6012abc 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -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_mksystemd_bootdisk(self):
+        """Test creation of mksystemd-bootdisk image"""
+        image = "mksystemd-bootdisk"
+        self.assertEqual(0, runCmd("wic create %s -e core-image-minimal" \
+                                   % image).status)
+        self.assertEqual(1, len(glob(self.resultdir + "%s-*direct" % image)))
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-30  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29  8:38 [wic][PATCH] wic: selftest: add test for mksystemd-bootdisk Ed Bartosh
2016-09-29 14:48 ` Burton, Ross
2016-09-30  8:35   ` Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox