diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2018-05-29 16:48:17 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2018-05-29 16:48:17 +0100 |
commit | 4d29352c7c8ef258c269182b915806107f0eaa1e (patch) | |
tree | 1877195675b5039729d7e05bc0c96755e37c57c6 | |
parent | c487fdd3852d5e3fb46c31d09950ccb4ba8cb5f2 (diff) |
optee-test.sh: exit cleanly if kill failslinaro-20180529-001
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-x | automated/linux/optee/optee-xtest.sh | 2 |
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 |