Fix scoring logic for "<"

This commit is contained in:
asiebelt 2016-01-02 18:13:07 +01:00
parent 7f462d0a41
commit a095ba64a0
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@
elif [ "${TESTTYPE}" = "<" ]; then
if [ "${FOUNDVALUE}" -ge "${WEAKVALUE}" -o "${FOUNDVALUE}" -gt "${MEDIUMSCOREDVALUE}" ]; then
RESULT="WEAK"
elif [ "${FOUNDVALUE}" -le "${MEDIUMSCOREDVALUE}" ]; then
elif [ "${FOUNDVALUE}" -le "${MEDIUMSCOREDVALUE}" -a "${FOUNDVALUE}" -gt "${EXPECTEDVALUE}" ]; then
RESULT="MIDSCORED"
elif [ "${FOUNDVALUE}" -le "${EXPECTEDVALUE}" ]; then
RESULT="GOOD"