diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/wic.py')
-rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 53855625b8..3cfc2ffcba 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
@@ -133,3 +133,13 @@ class Wic(oeSelfTest): | |||
133 | self.assertEqual(2, runCmd("wic create directdisk " | 133 | self.assertEqual(2, runCmd("wic create directdisk " |
134 | "--image-name core-image-minimal " | 134 | "--image-name core-image-minimal " |
135 | "-c wrong", ignore_status=True).status) | 135 | "-c wrong", ignore_status=True).status) |
136 | |||
137 | def test16_rootfs_indirect_recipes(self): | ||
138 | """Test usage of rootfs plugin with rootfs recipes""" | ||
139 | wks = "directdisk-multi-rootfs" | ||
140 | self.assertEqual(0, runCmd("wic create %s " | ||
141 | "--image-name core-image-minimal " | ||
142 | "--rootfs rootfs1=core-image-minimal " | ||
143 | "--rootfs rootfs2=core-image-minimal" \ | ||
144 | % wks).status) | ||
145 | self.assertEqual(1, len(glob(self.resultdir + "%s*.direct" % wks))) | ||