On 19 August 2015 at 14:25, Burton, Ross <ross.bur...@intel.com> wrote: > > On 19 August 2015 at 09:51, Jussi Kukkonen <jussi.kukko...@intel.com> wrote: >> >> +make -k .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \ > > > Presumably this means that openssh-ptest should rdepend on sudo? Is sudo > only used if the tests are executed as non-root?
I guess yes, it should then rdepend... obviously it also expects sudo to work without user interaction. In the examples I checked $SUDO is used regardless of uid, and in several cases the test checks that SUDO is set to something (skips if not set) and then runs "$SUDO <command>". I'd rather set SUDO to something that works than modify lots of test cases. Unfortunately even when root, tricks like setting SUDO=" " won't work as in some cases actual sudo options are used. Now that I look more closely, the tests practically require being root as well as having sudo on a oe system anyway as they create files in the ptest directory at runtime. As non-root even the test setup will fail. I'll add the RDEPENDS and re-send, let me know if I should try fixing something else as well. Jussi > Ross > > --------------------------------------------------------------------- > Intel Corporation (UK) Limited > Registered No. 1134945 (England) > Registered Office: Pipers Way, Swindon SN3 1RJ > VAT No: 860 2173 47 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core