]> 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:56:29 +0000 (11:56 +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 278fe4a5c6711477a1d0a567fdbe9837cabc12b8..63042455b1ec7663935465ca9ab09c6cac06a3e8 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
 
 #
 #