]> git.ipfire.org Git - thirdparty/bind9.git/commit
kasp tests: fix wait for reconfig done
authorMatthijs Mekking <matthijs@isc.org>
Tue, 26 May 2020 11:28:29 +0000 (13:28 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 29 Jun 2020 06:09:40 +0000 (08:09 +0200)
commit7eed00502f48377473063d416bf7f0f339f63b33
tree76ba8566d4263ccf5222fa9bd4b1927487479c99
parent60752f8092164db123d64e16afd1cce6f0ce5dc9
kasp tests: fix wait for reconfig done

The wait until zones are signed after rndc reconfig is broken
because the zones are already signed before the reconfig.  Fix
by having a different way to ensure the signing of the zone is
complete.  This does require a call to the "wait_for_done_signing"
function after each "check_keys" call after the ns6 reconfig.

The "wait_for_done_signing" looks for a (newly added) debug log
message that named will output if it is done signing with a certain
key.

(cherry picked from commit a47192ed5b11f0dbe7b9054caac1fa5ba690d613)
bin/tests/system/kasp/clean.sh
bin/tests/system/kasp/ns6/setup.sh
bin/tests/system/kasp/tests.sh
lib/dns/zone.c