diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2017-11-16 03:36:42 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2017-11-16 03:36:42 +0800 |
commit | a383d603922ae620d5f051134f16e3f3f6d63f24 (patch) | |
tree | 818c33d4a3549a3be332973c6aaa4571192ec8f1 /automated | |
parent | 5ce5bfc954048ce7a9a47c998c930553f9ef2f7b (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.yaml | 1 |
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 |