diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-30 00:25:04 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-30 00:25:04 +0530 |
commit | 7670aa94f9b20f98e1594de34e3dbfbac37027f4 (patch) | |
tree | 2fa2633b5ae3ac27baa3d68e4cf283c93310b9da | |
parent | 709e1499c27a2ce7f4944d9a7e99662a32356062 (diff) |
ltp: measurement fix
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | automated/utils/send-to-lava.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/utils/send-to-lava.sh b/automated/utils/send-to-lava.sh index a386e2c..2764853 100755 --- a/automated/utils/send-to-lava.sh +++ b/automated/utils/send-to-lava.sh @@ -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}')" |