summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/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 22:00:20 +0100
commit95b9fc5ddc1d6b9f8db26c6ee30486e155fc6242 (patch)
tree24ca04b2b5f2cd82ee664b455a3bd6a11f1840c7 /meta/recipes-devtools/strace/strace
parentb08c60224fad7e9134673f0e18a2a8fdd99ccc1a (diff)
downloadpoky-95b9fc5ddc1d6b9f8db26c6ee30486e155fc6242.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. (From OE-Core rev: 5ab213178c011152e29dfb0a80251c5e5ab79900) 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/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 @@
3set -u 3set -u
4 4
5export TIMEOUT_DURATION=240 5export TIMEOUT_DURATION=240
6chown nobody tests 6make -B -C tests -k test-suite.log
7chown nobody tests/*
8chown nobody ../ptest
9
10su nobody -c "make -B -C tests -k test-suite.log"
11res=$? 7res=$?
12if [ $res -ne 0 ]; then 8if [ $res -ne 0 ]; then
13 cat tests/test-suite.log 9 cat tests/test-suite.log