]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use jinja2 templates in rpzrecurse test
authorNicki Křížek <nicki@isc.org>
Fri, 5 Dec 2025 16:04:25 +0000 (17:04 +0100)
committerNicki Křížek <nicki@isc.org>
Tue, 9 Dec 2025 13:23:14 +0000 (14:23 +0100)
commit16e9ac4710fe2463fa0fedaace64f4c374d99dde
treef3160addce0fb7f870f3c0cae82970ca8bb1f4a1
parent54c95d69664d797c93b4650ef3641e9cb2d06143
Use jinja2 templates in rpzrecurse test

- Change ns2 header into jinja2 template.
- Keep the various ns2 config files as non-templates, same for the
  named.default.conf to be consistent.
- Symlink the ns2/named.default.conf as a jinja2 template to pick a
  starting config. It is rendered as a template to avoid an error when
  the test would overwrite a git-tracked file.
- Use jinja2 templates for the ns3 files, keep named1.conf around
  because it's needed later in the test to restore the config. Symlink
  it to `ns3/named.conf.j2` to select a default config.
bin/tests/system/rpzrecurse/ns1/named.conf.j2 [moved from bin/tests/system/rpzrecurse/ns1/named.conf.in with 100% similarity]
bin/tests/system/rpzrecurse/ns2/named.conf.header.j2 [moved from bin/tests/system/rpzrecurse/ns2/named.conf.header.in with 100% similarity]
bin/tests/system/rpzrecurse/ns2/named.conf.j2 [new symlink]
bin/tests/system/rpzrecurse/ns3/named.conf.j2 [new symlink]
bin/tests/system/rpzrecurse/ns3/named1.conf.j2 [moved from bin/tests/system/rpzrecurse/ns3/named1.conf.in with 100% similarity]
bin/tests/system/rpzrecurse/ns3/named2.conf.j2 [moved from bin/tests/system/rpzrecurse/ns3/named2.conf.in with 100% similarity]
bin/tests/system/rpzrecurse/ns3/named3.conf.j2 [moved from bin/tests/system/rpzrecurse/ns3/named3.conf.in with 100% similarity]
bin/tests/system/rpzrecurse/ns4/named.conf.j2 [moved from bin/tests/system/rpzrecurse/ns4/named.conf.in with 100% similarity]
bin/tests/system/rpzrecurse/setup.sh
bin/tests/system/rpzrecurse/tests.sh