summaryrefslogtreecommitdiff
path: root/automated/linux/optee/optee-xtest.sh
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-02-17 11:24:00 -0600
committerDaniel Díaz <daniel.diaz@linaro.org>2017-02-17 12:06:44 -0600
commited2f1e26103f0d07c7ba815aea8eb1784ca5d458 (patch)
tree451200bdc74a708153bbac09a0c83c70a181bc4a /automated/linux/optee/optee-xtest.sh
parentfb5d9f84daecc4a43d1939d52ac22e0123fa1d85 (diff)
downloadtest-definitions-pipe-ed2f1e26103f0d07c7ba815aea8eb1784ca5d458.tar.gz
cleanup: fix a few shellcheck errors in automated/
Change-Id: If34415c681906aefc6b5b42401ed995e5cdeda11 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'automated/linux/optee/optee-xtest.sh')
-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 67884dd..f84afe4 100755
--- a/automated/linux/optee/optee-xtest.sh
+++ b/automated/linux/optee/optee-xtest.sh
@@ -23,7 +23,7 @@ parser() {
egrep "^XTEST_TEE_.* (OK|FAILED|SKIPPED)" "${LOG_FILE}" \
> "${OUTPUT}/raw-result.txt"
- while read line; do
+ while read -r line; do
test_case=$(echo "${line}" | awk '{print $1}')
test_result=$(echo "${line}" | awk '{print $2}')