summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace/strace/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/strace/strace/run-ptest')
-rwxr-xr-xmeta/recipes-devtools/strace/strace/run-ptest15
1 files changed, 14 insertions, 1 deletions
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest
index 8070d83179..02bb91e07f 100755
--- a/meta/recipes-devtools/strace/strace/run-ptest
+++ b/meta/recipes-devtools/strace/strace/run-ptest
@@ -1,2 +1,15 @@
#!/bin/sh
-make -B -C tests -k test-suite.log
+
+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"
+res=$?
+if [ $res -ne 0 ]; then
+ cat tests/test-suite.log
+fi
+exit $res