]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
strace: Don't run ptest as "nobody"
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>
Sat, 30 Apr 2022 02:48:12 +0000 (10:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Apr 2022 20:59:32 +0000 (21:59 +0100)
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 <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/strace/strace/run-ptest

index 02bb91e07feefbebcca81c1b7d0c881e7a1929f5..86daed922013aecd3196a2d2464d90725f7aff5b 100755 (executable)
@@ -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