]> 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:54:57 +0000 (11:54 +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.

bin/tests/system/rrsetorder/tests.sh

index 6bd0ec02d517f18e8918f94d25e33659fe80a690..ae1b972026171c09203d7b916185e90f2c9969fa 100644 (file)
@@ -286,7 +286,7 @@ fi
 
 echo_i "Re-starting secondary"
 
-start_server --noclean --port ${PORT} rrsetorder ns2
+start_server --noclean --restart --port ${PORT} rrsetorder ns2
 
 #
 #