]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make bulktest threshold configurable
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Fri, 30 Aug 2013 11:05:26 +0000 (13:05 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Fri, 30 Aug 2013 11:05:26 +0000 (13:05 +0200)
regression-tests/recursor-test

index 2999652737058032554306f9a5f1c2737ae25fb2..f0de8e4672a2effb420dd049df32d5b31be9749b 100755 (executable)
@@ -26,7 +26,8 @@ kill $(cat pdns_recursor.pid)
 mkdir -p recursor-bulktest
 rm -f failed_tests passed_tests
 touch failed_tests passed_tests
-if [ "$DBT_OKPERCENTAGEINT" -ge 95 ]
+: ${THRESHOLD:="95"}
+if [ "$DBT_OKPERCENTAGEINT" -ge $THRESHOLD ]
 then
        echo recursor-bulktest >> passed_tests
 else