mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 20:23:04 +01:00
sed: Specify shell for "nobody" user in run-ptest
ptest testsuite/panic-tests.sh of sed need to be run as a non-root user so that the expected "sed: couldn't open temporary file <filename>: Permission denied" error can be generated. After disabling default shell for "nobody", a shell needs to be specified for running ptest. (From OE-Core rev: c6d7216772f76af4429fdaaca518858cf014293f) Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
2af5b0a58e
commit
fc80c5ee16
@@ -2,4 +2,4 @@
|
||||
|
||||
chown nobody testsuite
|
||||
chown nobody ../ptest
|
||||
su nobody -c "make test-suite.log"
|
||||
su nobody -s /bin/sh -c "make test-suite.log"
|
||||
|
||||
Reference in New Issue
Block a user