[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH v3 3/3] strace: Don't run ptest as "nobody"
From: "Jiaqing Zhao" <jiaqing.zhao () linux ! intel ! com>
Date: 2022-04-30 2:48:12
Message-ID: 20220430024812.745583-4-jiaqing.zhao () linux ! intel ! com
[Download RAW message or body]
Content-Transfer-Encoding: 8bit
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>
---
meta/recipes-devtools/strace/strace/run-ptest | 6 +-----
1 file changed, 1 insertion(+), 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
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165065): https://lists.openembedded.org/g/openembedded-core/message/165065
Mute This Topic: https://lists.openembedded.org/mt/90790105/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic