diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-04-30 10:48:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-30 22:00:20 +0100 |
commit | 95b9fc5ddc1d6b9f8db26c6ee30486e155fc6242 (patch) | |
tree | 24ca04b2b5f2cd82ee664b455a3bd6a11f1840c7 /meta/recipes-devtools/strace | |
parent | b08c60224fad7e9134673f0e18a2a8fdd99ccc1a (diff) | |
download | poky-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')
-rwxr-xr-x | meta/recipes-devtools/strace/strace/run-ptest | 6 |
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 @@ | |||
3 | set -u | 3 | set -u |
4 | 4 | ||
5 | export TIMEOUT_DURATION=240 | 5 | export TIMEOUT_DURATION=240 |
6 | chown nobody tests | 6 | make -B -C tests -k test-suite.log |
7 | chown nobody tests/* | ||
8 | chown nobody ../ptest | ||
9 | |||
10 | su nobody -c "make -B -C tests -k test-suite.log" | ||
11 | res=$? | 7 | res=$? |
12 | if [ $res -ne 0 ]; then | 8 | if [ $res -ne 0 ]; then |
13 | cat tests/test-suite.log | 9 | cat tests/test-suite.log |