[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4372/8267] selftest: check results in test_image_vars_dir*
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4372/8267] selftest: check results in test_image_vars_dir*
- Date: Sun, 17 Dec 2017 01:56:40 +0000 (UTC)
commit de23b7bb2f53149c9778fde55e5b3c710c51932d
Author: Ed Bartosh <ed bartosh linux intel com>
Date: Thu Jan 26 19:31:48 2017 +0200
selftest: check results in test_image_vars_dir*
Tested that result images are produced in test_image_vars_dir_long
and test_image_vars_dir_short test cases.
(From OE-Core rev: 9ed399b99e40ec9ec76df1fbdedfb8104a463acc)
Signed-off-by: Ed Bartosh <ed bartosh linux intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/selftest/wic.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 24093d1..53631fa 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -390,6 +390,7 @@ class Wic(oeSelfTest):
self.assertEqual(0, runCmd("wic create directdisk "
"--image-name=%s -v %s -o %s"
% (image, imgenvdir, self.resultdir)).status)
+ self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct")))
def test_image_vars_dir_long(self):
"""Test image vars directory selection --vars option"""
@@ -400,6 +401,7 @@ class Wic(oeSelfTest):
"--vars %s "
"--outdir %s"
% (image, imgenvdir, self.resultdir)).status)
+ self.assertEqual(1, len(glob(self.resultdir + "directdisk-*direct")))
@testcase(1351)
def test_wic_image_type(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]