summaryrefslogtreecommitdiff
path: root/automated/utils/send-to-lava.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/utils/send-to-lava.sh')
-rwxr-xr-xautomated/utils/send-to-lava.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/utils/send-to-lava.sh b/automated/utils/send-to-lava.sh
index 55cbc6d..2764853 100755
--- a/automated/utils/send-to-lava.sh
+++ b/automated/utils/send-to-lava.sh
@@ -4,7 +4,7 @@ RESULT_FILE="$1"
if [ -f "${RESULT_FILE}" ]; then
while read line; do
- if echo "${line}" | egrep -q ".* +(pass|fail|skip)$"; then
+ if echo "${line}" | egrep -iq ".* +(pass|fail|skip)$"; then
test="$(echo "${line}" | awk '{print $1}')"
result="$(echo "${line}" | awk '{print $2}')"
@@ -13,7 +13,7 @@ if [ -f "${RESULT_FILE}" ]; then
else
echo "<TEST_CASE_ID=${test} RESULT=${result}>"
fi
- elif echo "${line}" | egrep -q ".* +(pass|fail|skip) +[0-9.E-]+ [A-Za-z./]+$"; then
+ elif echo "${line}" | egrep -iq ".* +(pass|fail|skip) +[0-9.E-]+ [A-Za-z./]+$"; then
test="$(echo "${line}" | awk '{print $1}')"
result="$(echo "${line}" | awk '{print $2}')"
measurement="$(echo "${line}" | awk '{print $3}')"