]> 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>
Fri, 26 Jun 2020 08:43:45 +0000 (08:43 +0000)
commita47192ed5b11f0dbe7b9054caac1fa5ba690d613
treedad9c034fb657595714201b06bb562b410ba475c
parentcf76d839aeccaf8f444fcc603c0fcbe6859ac217
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.
bin/tests/system/kasp/clean.sh
bin/tests/system/kasp/ns6/setup.sh
bin/tests/system/kasp/tests.sh
lib/dns/zone.c