]> git.ipfire.org Git - thirdparty/bind9.git/commit
Stabilize "delzsk.example" zone checks
authorMichał Kępień <michal@isc.org>
Mon, 11 Mar 2019 12:02:54 +0000 (13:02 +0100)
committerMichał Kępień <michal@isc.org>
Mon, 11 Mar 2019 12:03:17 +0000 (13:03 +0100)
commit79a4cbd203f0fc9c0ff93f66dacbf845f2048311
treef6e5791469dd91e173580f374da7fa53d8b0d5f4
parent83acb4ffada38c2b9d1a005d0f86a71b978d5199
Stabilize "delzsk.example" zone checks

When a zone is converted from NSEC to NSEC3, the private record at zone
apex indicating that NSEC3 chain creation is in progress may be removed
during a different (later) zone_nsec3chain() call than the one which
adds the NSEC3PARAM record.  The "delzsk.example" zone check only waits
for the NSEC3PARAM record to start appearing in dig output while private
records at zone apex directly affect "rndc signing -list" output.  This
may trigger false positives for the "autosign" system test as the output
of the "rndc signing -list" command used for checking ZSK deletion
progress may contain extra lines which are not accounted for.  Ensure
the private record is removed from zone apex before triggering ZSK
deletion in the aforementioned check.

Also future-proof the ZSK deletion progress check by making it only look
at lines it should care about.

(cherry picked from commit e02de04e9723156003d4f52cb4cef282186f5bf7)
bin/tests/system/autosign/tests.sh