From: Jiaqing Zhao Date: Sat, 30 Apr 2022 02:48:12 +0000 (+0800) Subject: strace: Don't run ptest as "nobody" X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ab213178c011152e29dfb0a80251c5e5ab79900;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Jiaqing Zhao Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest index 02bb91e07fe..86daed92201 100755 --- a/meta/recipes-devtools/strace/strace/run-ptest +++ b/meta/recipes-devtools/strace/strace/run-ptest @@ -3,11 +3,7 @@ set -u export TIMEOUT_DURATION=240 -chown nobody tests -chown nobody tests/* -chown nobody ../ptest - -su nobody -c "make -B -C tests -k test-suite.log" +make -B -C tests -k test-suite.log res=$? if [ $res -ne 0 ]; then cat tests/test-suite.log