diff options
-rwxr-xr-x | automated/utils/send-to-lava.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/utils/send-to-lava.sh b/automated/utils/send-to-lava.sh index ace3de9..a51a661 100755 --- a/automated/utils/send-to-lava.sh +++ b/automated/utils/send-to-lava.sh @@ -9,7 +9,7 @@ if [ -f "${RESULT_FILE}" ]; then while read -r line; do if echo "${line}" | egrep -iq ".* +(pass|fail|skip)$"; then test="$(echo "${line}" | awk '{print $1}')" - result="$(echo "${line}" | awk '{print $2}')" + result="$(echo "${line}" | awk '{print tolower($2)}')" if [ "${lava_test_case}" -eq 0 ]; then lava-test-case "${test}" --result "${result}" @@ -18,7 +18,7 @@ if [ -f "${RESULT_FILE}" ]; then fi elif echo "${line}" | egrep -iq ".*+ (pass|fail|skip)+ .*+"; then test="$(echo "${line}" | awk '{print $1}')" - result="$(echo "${line}" | awk '{print $2}')" + result="$(echo "${line}" | awk '{print tolower($2)}')" measurement="$(echo "${line}" | awk '{print $3}')" units="$(echo "${line}" | awk '{print $4}')" |