]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Stop named-checkzone leaking test queries
authorMark Andrews <marka@isc.org>
Tue, 23 Nov 2021 01:27:23 +0000 (12:27 +1100)
committerMark Andrews <marka@isc.org>
Thu, 21 Mar 2024 02:40:04 +0000 (13:40 +1100)
(cherry picked from commit ad083897cc9169e64cffe610d2542e2a40f35ecf)

bin/tests/system/checkzone/tests.sh

index ab1526041a860bd2233bd6cc7311f4277c29ca1f..1cc8accce4fbcd1074a008f80a549491471b276b 100644 (file)
@@ -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))