]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Do not truncate ns2 logs in the "rrsetorder" test
authorMichał Kępień <michal@isc.org>
Tue, 11 Oct 2022 09:54:57 +0000 (11:54 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 11 Oct 2022 09:59:02 +0000 (11:59 +0200)
In the "rrsetorder" system test, the ns2 named instance is restarted
without passing the --restart option to bin/tests/system/start.pl.  This
causes the log file for that named instance to be needlessly truncated.
Prevent this from happening by restarting the affected named instance
in the same way as all the other named instances used in system tests.

(cherry picked from commit 9146b956ae8a77ecf3f34b4d928c98b3b63dcdb2)

bin/tests/system/rrsetorder/tests.sh

index d9dedc3cff8383b80fe531c9f4c09036393e0501..9cfabc7990d782215d2c49db21a66d0857cb3c5a 100644 (file)
@@ -283,7 +283,7 @@ fi
 
 echo_i "Re-starting secondary"
 
-$PERL $SYSTEMTESTTOP/start.pl --noclean --port ${PORT} rrsetorder ns2
+$PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} rrsetorder ns2
 
 #
 #