diff --git a/include/functions b/include/functions index 795d484e..16919eb5 100644 --- a/include/functions +++ b/include/functions @@ -2354,13 +2354,12 @@ local RETVAL=1 if [ "$#" -ne "2" ]; then ReportException "${TEST_NO}" "Error in function call to ${FUNCNAME}" - else + else LogText "${FUNCNAME}: checking value for application ${APP}" LogText "${FUNCNAME}: ${OPTION} is set to ${1}" - LogText "${FUNCNAME}: checking if ${1} is greater or equal ${2}" - if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_GreaterThan "${1}" "${2}" ]; then - RETVAL=0 + if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_GreaterThan "${1}" "${2}" ]; then + RETVAL=0 fi fi return ${RETVAL} @@ -2404,7 +2403,6 @@ else LogText "${FUNCNAME}: checking value for application ${APP}" LogText "${FUNCNAME}: ${OPTION} is set to ${1}" - LogText "${FUNCNAME}: checking if ${1} is less or equal ${2}" if [ TestCase_Equal "${1}" "${2}" ] || [ TestCase_LessThan "${1}" "${2}" ]; then LogText "${FUNCNAME}: ${1} is less than ${2}" @@ -2415,8 +2413,6 @@ } - - ################################################################################ # # Legacy functions - Do not use!