]> git.ipfire.org Git - thirdparty/bind9.git/commit
start converting dnssec system test to python/jinja2
authorEvan Hunt <each@isc.org>
Thu, 26 Jun 2025 02:00:22 +0000 (19:00 -0700)
committerEvan Hunt <each@isc.org>
Thu, 31 Jul 2025 19:55:40 +0000 (12:55 -0700)
commitbcf41973bbe2637a032d928e2deb7ad9e3e8e8c9
tree79014b86ca8d10f98588da067110cff609c95f6e
parent1563d71c1bee3b1197f7f4b5693581c223d4e241
start converting dnssec system test to python/jinja2

- changed named.conf.in to named.conf.j2 in all server directories that
  don't currently need to use copy_setports() during the test.
- converted the tests that use ns5 to python, and replaced
  named1.conf.in and named2.conf.in with a jinja2 template instead.
  the only remaining server that still needs copy_setports() is ns4.
- removed ns4/named5.conf.in, and moved its functions to ns5 (which
  is supposed to be for servers with broken trust-anchor configurations,
  so it should have been there in the first place). converted the tests
  that used that ns4 configuration to use ns5 with jinja instead.
- revised the remaining ns4 configurations (named[1-4].conf.in) to
  minimize the differences between them. this will make it easier to
  convert it into a jinja2 template later.
19 files changed:
bin/tests/system/dnssec/ns1/named.conf.j2 [moved from bin/tests/system/dnssec/ns1/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns1/sign.sh
bin/tests/system/dnssec/ns2/named.conf.j2 [moved from bin/tests/system/dnssec/ns2/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns3/named.conf.j2 [moved from bin/tests/system/dnssec/ns3/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns4/named1.conf.in
bin/tests/system/dnssec/ns4/named2.conf.in
bin/tests/system/dnssec/ns4/named3.conf.in
bin/tests/system/dnssec/ns4/named4.conf.in
bin/tests/system/dnssec/ns4/named5.conf.in [deleted file]
bin/tests/system/dnssec/ns5/named.conf.j2 [moved from bin/tests/system/dnssec/ns5/named2.conf.in with 56% similarity]
bin/tests/system/dnssec/ns5/named1.conf.in [deleted file]
bin/tests/system/dnssec/ns6/named.conf.j2 [moved from bin/tests/system/dnssec/ns6/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns7/named.conf.j2 [moved from bin/tests/system/dnssec/ns7/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns8/named.conf.j2 [moved from bin/tests/system/dnssec/ns8/named.conf.in with 100% similarity]
bin/tests/system/dnssec/ns9/named.conf.j2 [moved from bin/tests/system/dnssec/ns9/named.conf.in with 87% similarity]
bin/tests/system/dnssec/setup.sh
bin/tests/system/dnssec/tests.sh
bin/tests/system/dnssec/tests_badkey.py [new file with mode: 0644]
bin/tests/system/dnssec/tests_sh_dnssec.py