From: Mark Andrews Date: Wed, 2 Jul 2025 02:49:16 +0000 (+1000) Subject: Redirect named-checkzone output to file X-Git-Tag: v9.21.11~46^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=370d28de97606019a4fb19e476018e83d3a77bf7;p=thirdparty%2Fbind9.git Redirect named-checkzone output to file --- diff --git a/bin/tests/system/checkzone/tests.sh b/bin/tests/system/checkzone/tests.sh index de4dd931d23..c905cfbc845 100644 --- a/bin/tests/system/checkzone/tests.sh +++ b/bin/tests/system/checkzone/tests.sh @@ -151,28 +151,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))