summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2017-11-16 03:36:42 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2017-11-16 03:36:42 +0800
commita383d603922ae620d5f051134f16e3f3f6d63f24 (patch)
tree818c33d4a3549a3be332973c6aaa4571192ec8f1 /automated
parent5ce5bfc954048ce7a9a47c998c930553f9ef2f7b (diff)
android tradefed: set the current dir owner to testuser
so that files could be saved there, to avoid the problems here: https://staging.validation.linaro.org/scheduler/job/200421#L5256 Change-Id: I54b979c0c95dfb0614df9d00a7fb2e5e9f91ae53 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'automated')
-rw-r--r--automated/android/tradefed/tradefed.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/android/tradefed/tradefed.yaml b/automated/android/tradefed/tradefed.yaml
index d9db822..baf2a5e 100644
--- a/automated/android/tradefed/tradefed.yaml
+++ b/automated/android/tradefed/tradefed.yaml
@@ -40,6 +40,7 @@ run:
- userdel testuser -r -f || true
# create test use to run the cts/vts tests
- useradd -m testuser && echo "testuser created successfully"
+ - chown testuser:testuser .
- sudo -u testuser ./tradefed.sh -o "${TIMEOUT}" -c "${TEST_URL}" -t "${TEST_PARAMS}" -p "${TEST_PATH}" -r "${RESULTS_FORMAT}" -n "${ANDROID_SERIAL}"
# Upload test log and result files to artifactorial.
- cp -r ./${TEST_PATH}/results ./output/ || true