From: Mark Andrews Date: Tue, 23 Nov 2021 01:27:23 +0000 (+1100) Subject: Stop named-checkzone leaking test queries X-Git-Tag: v9.19.23~20^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad083897cc9169e64cffe610d2542e2a40f35ecf;p=thirdparty%2Fbind9.git Stop named-checkzone leaking test queries --- diff --git a/bin/tests/system/checkzone/tests.sh b/bin/tests/system/checkzone/tests.sh index ab1526041a8..1cc8accce4f 100644 --- a/bin/tests/system/checkzone/tests.sh +++ b/bin/tests/system/checkzone/tests.sh @@ -86,8 +86,8 @@ status=$((status + ret)) echo_i "checking with max ttl (text) ($n)" ret=0 -$CHECKZONE -l 300 example zones/good1.db >test.out1.$n 2>&1 && ret=1 -$CHECKZONE -l 600 example zones/good1.db >test.out2.$n 2>&1 || ret=1 +$CHECKZONE -i local -l 300 example zones/good1.db >test.out1.$n 2>&1 && ret=1 +$CHECKZONE -i local -l 600 example zones/good1.db >test.out2.$n 2>&1 || ret=1 n=$((n + 1)) if [ $ret != 0 ]; then echo_i "failed"; fi status=$((status + ret))