]> git.ipfire.org Git - thirdparty/bind9.git/commit
rollover: From setup.sh to pytest bootstrap
authorMatthijs Mekking <matthijs@isc.org>
Tue, 25 Nov 2025 10:17:40 +0000 (11:17 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 22 Dec 2025 15:25:12 +0000 (15:25 +0000)
commitef1ac155b055d54964c0dd8a3b349a5bf575b13e
tree14eb64458ed7424806ac8ee945c06c4312c75eb0
parent72b7c2385d00f6ae1a9f528e7e288cad0b1f61b4
rollover: From setup.sh to pytest bootstrap

Introduce rollover/setup.py for all setup related test code.

Introduce rollover/ns1 and rollover/ns2 to create a chain of trust to
all rollover related test zones. The tld zones in rollover/ns2 contain
a DSYNC record that at a later time will be used for testing Generalized
DNS Notifications.

Write a python version of private_type_record so we can put such
records in the zone via jinja2 templating.

(cherry picked from commit f31514e65855239ad114c21d82c5e17e018dc37a)
13 files changed:
bin/tests/system/isctest/kasp.py
bin/tests/system/isctest/template.py
bin/tests/system/rollover/common.py
bin/tests/system/rollover/ns1/named.conf.j2 [new file with mode: 0644]
bin/tests/system/rollover/ns1/root.db.j2.manual [new file with mode: 0644]
bin/tests/system/rollover/ns2/named.conf.j2 [new file with mode: 0644]
bin/tests/system/rollover/ns2/template.db.j2.manual [new file with mode: 0644]
bin/tests/system/rollover/ns3/named.common.conf.j2
bin/tests/system/rollover/ns3/template.db.j2.manual [moved from bin/tests/system/rollover/ns3/template.db.in with 82% similarity]
bin/tests/system/rollover/ns3/trusted.conf.j2 [new symlink]
bin/tests/system/rollover/setup.py [new file with mode: 0644]
bin/tests/system/rollover/setup.sh [deleted file]
bin/tests/system/rollover/tests_rollover_manual.py