From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 24 Jul 2023 17:27:30 +0000 (-0400) Subject: Clean up recursor-test X-Git-Tag: rec-5.0.0-alpha1~91^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7264f65ba512d45c712affeed040c433a66d048e;p=thirdparty%2Fpdns.git Clean up recursor-test * remove tabs * remove double quotes around a number -- if the value is empty it'd crash anyway --- diff --git a/regression-tests/recursor-test b/regression-tests/recursor-test index e75817b520..e5c4721901 100755 --- a/regression-tests/recursor-test +++ b/regression-tests/recursor-test @@ -85,10 +85,10 @@ touch failed_tests passed_tests ANANSWER=$[(100*(${DBT_QUEUED}-${DBT_ERRORS}-${DBT_TIMEOUTS}) )/${DBT_QUEUED}] -if [ "$ANANSWER" -ge $THRESHOLD ] +if [ $ANANSWER -ge $THRESHOLD ] then - echo recursor-bulktest >> passed_tests - RETVAL=0 + echo recursor-bulktest >> passed_tests + RETVAL=0 else echo recursor-bulktest >> failed_tests RETVAL=1