On Mon, 2019-11-11 at 20:33 -0800, Armin Kuster wrote: > + > +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") > --
We have IncompatibleLicensePerImageTests that tests for presence of bash when different LICENSE values are set. Perhaps we don't need this and can consider this case covered by that test? Thanks, Anuj -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core