* [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* Re: [wic][PATCH] wic: selftest: add test for mksystemd-bootdisk
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
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2016-09-29 14:48 UTC (permalink / raw)
To: Ed Bartosh; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On 29 September 2016 at 09:38, Ed Bartosh <ed.bartosh@linux.intel.com>
wrote:
> + 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)))
>
Jianxun sent a patch to rename this image to just systemd-bootdisk, do you
agree with this rename (so can you update the patch) or do you think we
should not rename?
Ross
[-- Attachment #2: Type: text/html, Size: 1225 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [wic][PATCH] wic: selftest: add test for mksystemd-bootdisk
2016-09-29 14:48 ` Burton, Ross
@ 2016-09-30 8:35 ` Ed Bartosh
0 siblings, 0 replies; 3+ messages in thread
From: Ed Bartosh @ 2016-09-30 8:35 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Thu, Sep 29, 2016 at 03:48:59PM +0100, Burton, Ross wrote:
> On 29 September 2016 at 09:38, Ed Bartosh <ed.bartosh@linux.intel.com>
> wrote:
>
> > + 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)))
> >
>
> Jianxun sent a patch to rename this image to just systemd-bootdisk, do you
> agree with this rename (so can you update the patch) or do you think we
> should not rename?
>
I agree with rename. I'll send updated patchset after Jianxun patch is
merged.
--
Regards,
Ed
^ permalink raw reply [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