Note that -eq is for integer comparisons. For string comparisons, use == (or =). Thus, you should use the following:
if test "$suman_inspect" == "yes"; then
# do something
fi
YouThe same distinction applies for inequality operators (-gt, -lt, -ge, -le, and -ne being used for numerical comparisons, and >, <, >=, <=, and != being used for string comparisons).
Note that you can also use [ expression ] in place of test expression; the two are synonymous.