diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-05-13 17:40:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 10:08:06 +0100 |
commit | 51e3b634277be18c09e376aa44e3656ee17da2e1 (patch) | |
tree | c3a3ac70b4f6f297595cf1c02b64446d6b519964 | |
parent | d7f2bec47aa12d05631cb4f1ec73760e636f9f77 (diff) | |
download | poky-51e3b634277be18c09e376aa44e3656ee17da2e1.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: c20a5f83e9f0483f5458513eeaaec60436dd9d68)
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ab213178c011152e29dfb0a80251c5e5ab79900)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 |