summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>2022-04-30 10:48:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-30 21:59:32 +0100
commit5ab213178c011152e29dfb0a80251c5e5ab79900 (patch)
tree8a5181d5e9dcd50a9ae14682e3be8899f228dd84 /meta/recipes-devtools/strace
parentba3bc4d7a0a39a96f6e8d340e1b2654d47475f07 (diff)
downloadopenembedded-core-5ab213178c011152e29dfb0a80251c5e5ab79900.tar.gz
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 <jiaqing.zhao@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 02bb91e07f..86daed9220 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