1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 13:29:49 +00:00

strace: Don't run ptest as "nobody"

strace ptests can run successfully with root user, there is no need to
run as "nobody". The ptest results are the same.

(From OE-Core rev: 5ab213178c011152e29dfb0a80251c5e5ab79900)

Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jiaqing Zhao
2022-04-30 10:48:12 +08:00
committed by Richard Purdie
parent b08c60224f
commit 95b9fc5ddc
@@ -3,11 +3,7 @@
set -u set -u
export TIMEOUT_DURATION=240 export TIMEOUT_DURATION=240
chown nobody tests make -B -C tests -k test-suite.log
chown nobody tests/*
chown nobody ../ptest
su nobody -c "make -B -C tests -k test-suite.log"
res=$? res=$?
if [ $res -ne 0 ]; then if [ $res -ne 0 ]; then
cat tests/test-suite.log cat tests/test-suite.log