[OE-core] [PATCH 3/3] bash: run bash ptest as non-root user

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Sat Jun 1 16:17:03 UTC 2019


On Sat, 2019-06-01 at 11:16 -0400, Randy MacLeod wrote:
> On 5/31/19 4:25 PM, Sakib Sajal wrote:
> > new-exp ptest fails as it expects non-root user.
> 
> This patch made me wonder if by default we should be
> running the ptest as a user and assigning owndership of
> all the ptest files to the same user.
> 
> I will open an ER if no one points out a reason not
> to make such a change. I expect that some ptests would
> need passwordless sudo access.

I suspect the tests will fall into two very specific camps, ones which
expect root and ones which don't.

I'm not sure it will be worth the extra code to do it everywhere but I
could be wrong...

Cheers,

Richard



More information about the Openembedded-core mailing list