diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-11-05 17:04:39 -0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-11-07 14:49:19 -0800 |
commit | 347cc956317af42a861d3aa871f2202ab56691d8 (patch) | |
tree | 6cdd8bbdce8fc655b8d7b33de6211323d7df0133 /meta | |
parent | 2be7a653319bb318c6d04234119f9887cf50c6a6 (diff) | |
download | openembedded-core-contrib-347cc956317af42a861d3aa871f2202ab56691d8.tar.gz |
OEQA: move manual bash test to runtime
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/runtime_test.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py index 7d3922ce44..28804ea15e 100644 --- a/meta/lib/oeqa/selftest/cases/runtime_test.py +++ b/meta/lib/oeqa/selftest/cases/runtime_test.py @@ -322,3 +322,20 @@ class Postinst(OESelftestTestCase): self.assertFalse(os.path.isfile(os.path.join(hosttestdir, "rootfs-after-failure")), "rootfs-after-failure file was created") + + +class Bsp(OESelftestTestCase): + def test_bash_installed(self): + """ + Summary: The purpose of this test case is to verify that bash + in exists in the image. Test came from manual. + Expected: Bash is found. + """ + + features = 'IMAGE_INSTALL_append = " bash"\n' + self.write_config(features) + bitbake('core-image-minimal') + + with runqemu('core-image-minimal') as qemu: + result = runCmd("which bash" , shell=True) + self.assertEqual(0, result.status, "Couldn't find bash") |