#!/bin/sh
logFile=$1

echo "============Tesst Report================="
echo -n "Got total vaild index: "
grep  -c " tlvValue = 9" $logFile
grep  -c " tlvValue = 8" $logFile
grep  -c " tlvValue = 7" $logFile
grep  -c " tlvValue = 6" $logFile
grep  -c " tlvValue = 5" $logFile
grep  -c " tlvValue = 4" $logFile
grep  -c " tlvValue = 3" $logFile
grep  -c " tlvValue = 2" $logFile
grep  -c " tlvValue = 1" $logFile
grep  -c " tlvValue = 0" $logFile
#grep  -c " tlvValue = 0" $logFile
echo -n "Got total Null index: "
grep  -c " tlvValue = Null" $logFile
echo -n "Try to get: "
grep  -c "Now get -> " $logFile
echo "============timeout================="
echo -n "Duplicate key index: "
grep  -c " Description: Duplicate" $logFile
grep  " Description: Duplicate" $logFile
echo "============timeout================="
echo -n "total : "
grep  -c "data timeout" $logFile
grep  "data timeout" $logFile
