]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Redirect named-checkzone output to file
authorMark Andrews <marka@isc.org>
Wed, 2 Jul 2025 02:49:16 +0000 (12:49 +1000)
committerMark Andrews <marka@isc.org>
Wed, 16 Jul 2025 00:42:35 +0000 (10:42 +1000)
(cherry picked from commit 370d28de97606019a4fb19e476018e83d3a77bf7)

bin/tests/system/checkzone/tests.sh

index 1f340a3fccc61322259cfa096cfdf84548425c46..98d6ac37f497637ce5f52287e5033f65f57d8e9c 100644 (file)
@@ -139,28 +139,28 @@ status=$((status + ret))
 echo_i "checking that expirations that loop using serial arithmetic are handled ($n)"
 ret=0
 q=-q
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
-test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
+test $ret -eq 1 || $CHECKZONE $q dyn.example.net zones/crashzone.db >test.out.$n 2>&1 || ret=1
 n=$((n + 1))
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=$((status + ret))