diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/wic.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 6a61ba6868..14109c4b5a 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py | |||
| @@ -149,6 +149,10 @@ class Wic(oeSelfTest): | |||
| 149 | @testcase(1346) | 149 | @testcase(1346) |
| 150 | def test_iso_image(self): | 150 | def test_iso_image(self): |
| 151 | """Test creation of hybrid iso image with legacy and EFI boot""" | 151 | """Test creation of hybrid iso image with legacy and EFI boot""" |
| 152 | config = 'IMAGE_FSTYPES += " hddimg "\nMACHINE_FEATURES_append = " efi"\n' | ||
| 153 | self.append_config(config) | ||
| 154 | bitbake('core-image-minimal') | ||
| 155 | self.remove_config(config) | ||
| 152 | cmd = "wic create mkhybridiso --image-name core-image-minimal" | 156 | cmd = "wic create mkhybridiso --image-name core-image-minimal" |
| 153 | self.assertEqual(0, runCmd(cmd).status) | 157 | self.assertEqual(0, runCmd(cmd).status) |
| 154 | self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct"))) | 158 | self.assertEqual(1, len(glob(self.resultdir + "HYBRID_ISO_IMG-*.direct"))) |
