On 11/12/19 5:33 PM, Mittal, Anuj wrote: > 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. Yeah, I found that later as I was poking around but want to send the patch just to have the conversation. > > Perhaps we don't need this and can consider this case covered by that > test? I am fine with that. thanks, Armin > > Thanks, > > Anuj -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
- [OE-core] [PATCH 12/20] OEQA: remove postinit test done w/sel... Armin Kuster
- [OE-core] [PATCH 15/20] OEQA: remove manual bash test Armin Kuster
- [OE-core] [PATCH 09/20] manual qa/bsp-qemu: remove KVM enable... Armin Kuster
- [OE-core] [PATCH 11/20] manual/bsp-qemu: remove only_one_conn... Armin Kuster
- [OE-core] [PATCH 07/20] manual qa: drop ltpstress test Armin Kuster
- [OE-core] [PATCH 10/20] manual/bsp-qemu: drop xserver test do... Armin Kuster
- [OE-core] [PATCH 08/20] manual qa/bsp-qemu: remove rpm tests ... Armin Kuster
- [OE-core] [PATCH 13/20] OEQA: eclipse support was dropped in ... Armin Kuster
- [OE-core] [PATCH 14/20] OEQA: move manual bash test to runtim... Armin Kuster
- Re: [OE-core] [PATCH 14/20] OEQA: move manual bash test ... Mittal, Anuj
- Re: [OE-core] [PATCH 14/20] OEQA: move manual bash t... akuster808
- [OE-core] [PATCH 17/20] OEQA: move list-packageconfig-flags t... Armin Kuster
- [OE-core] [PATCH 18/20] OEQA: remove manual PACKAGECONFIG_FLA... Armin Kuster
- [OE-core] [PATCH 19/20] OEQA: add crosstab selftest Armin Kuster
- [OE-core] [PATCH 20/20] OEQA: remove crosstab test from manua... Armin Kuster
- [OE-core] [PATCH 16/20] OEQA: remove manual useradd test Armin Kuster