From ad083897cc9169e64cffe610d2542e2a40f35ecf Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 23 Nov 2021 12:27:23 +1100 Subject: [PATCH] Stop named-checkzone leaking test queries --- bin/tests/system/checkzone/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/checkzone/tests.sh b/bin/tests/system/checkzone/tests.sh index ab1526041a..1cc8accce4 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))