[OE-core] [meta-oe][PATCH 2/2] bash: inherit useradd and remove redundant patch

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 5 22:05:55 UTC 2019


On Tue, 2019-06-04 at 15:29 -0400, Sakib Sajal wrote:
> 1) inherit useradd to allow new users to be created.
> 
> Ensure that useradd/del are available when running
> bash ptests.
> 
> 2) run ptest as non-root.
> 
> Removed patch:
>    fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
> 
> which enabled the two tests:
>    execscript, test,
> to be run by root but under 'su' as a user. These two tests
> now fail since all bash ptest are now run as non-root and there
> is no need to 'su'. There are remaining problems with the test
> that will be resolved in future commits.
> 
> Bash ptest statistics with said changes:
>    PASS: 77
>    SKIP:  0
>    FAIL:  4
> 
> Failed tests: execscript
> 	      test
> 	      read
>   	      trap
> 
> Signed-off-by: Sakib Sajal <sakib.sajal at windriver.com>
> Signed-off-by: Randy Macleod <randy.macleod at windriver.com>

Nearly but this breaks one of the selftests which will need fixing:

https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/500

oe-selftest -r imagefeatures.ImageFeatures.test_useradd_static

should reproduce.

Cheers,

Richard




More information about the Openembedded-core mailing list