summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-05-29 16:48:17 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2018-05-29 16:50:06 +0100
commite498bb4a80ab0899afbbedf1248f8dc5cfb795c6 (patch)
tree5dcb946223515a72d06bb117dc9c4d226e489aaa
parentaac753a167014cae9b68141c6bcc316d3fa4d049 (diff)
optee-test.sh: exit cleanly if kill fails
The final kill command in this test can often fail, eg. when running on a BusyBox system. Instead of exiting with an error, ignore it so the test results get passed back to LAVA. Change-Id: Ieeb9bfd73b7bf70a827a13a25b28f4f960124f21 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rwxr-xr-xautomated/linux/optee/optee-xtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/optee/optee-xtest.sh b/automated/linux/optee/optee-xtest.sh
index 67ed80d..8a88df6 100755
--- a/automated/linux/optee/optee-xtest.sh
+++ b/automated/linux/optee/optee-xtest.sh
@@ -54,4 +54,4 @@ grep -E "^[0-9]+ test case was skipped" "${LOG_FILE}" \
| tee -a "${RESULT_FILE}"
# Cleanup.
-kill "${tee_supplicant_pid}"
+kill "${tee_supplicant_pid}" || true