Fix Scoring for "<"

This commit is contained in:
asiebelt 2016-01-02 18:03:11 +01:00
parent 99fd20aae0
commit 81bac124ee
1 changed files with 2 additions and 2 deletions

View File

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