summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur She <arthur.she@linaro.org>2018-05-29 08:43:39 -0700
committerArthur She <arthur.she@linaro.org>2018-05-29 08:43:39 -0700
commit9f52efa97b32eb2d11e1fb7dded7f40852315c49 (patch)
tree8eb80c35ebfbe17283fa7295016a7a44b6454daf
parentdf9b367255ef249f34a2e0034ad701de9b8d703e (diff)
pritee_test_utility.sh
remove debug message modified: pritee_test_utility.sh
-rwxr-xr-xautomated/linux/pritee_test_utility/pritee_test_utility.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/automated/linux/pritee_test_utility/pritee_test_utility.sh b/automated/linux/pritee_test_utility/pritee_test_utility.sh
index cb6f93a..df6f85a 100755
--- a/automated/linux/pritee_test_utility/pritee_test_utility.sh
+++ b/automated/linux/pritee_test_utility/pritee_test_utility.sh
@@ -1,24 +1,17 @@
#!/bin/sh
echo $1
-while IFS='' read -r line || [[ -n "$line" ]]; do
-# echo $line
+while read line; do
line="$(echo $line | tr -d '[:space:]')"
case $line in
- -----* )
-# echo "Test area start"
- ;;
TestArea* )
ta=${line#TestArea:}
-# echo "Got test area:$ta"
;;
TEST_* )
tc=$line
-# echo "Test case: $tc"
;;
RESULT* )
result=${line#RESULT=}
-# echo "Test result: $result"
echo "$ta-$tc:: $result"
;;
esac