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

- Instead of strings to be replaced by sed, use proper jinja templates.
- ns3/named1.conf.j2 is basically a copy of the default config, because
  it needs to be restored later in the test.
bin/tests/system/staticstub/ns1/named.conf.j2 [moved from bin/tests/system/staticstub/ns1/named.conf.in with 100% similarity]
bin/tests/system/staticstub/ns2/named.conf.j2 [moved from bin/tests/system/staticstub/ns2/named.conf.in with 86% similarity]
bin/tests/system/staticstub/ns2/named2.conf.j2 [new file with mode: 0644]
bin/tests/system/staticstub/ns3/named.conf.j2 [moved from bin/tests/system/staticstub/ns3/named.conf.in with 87% similarity]
bin/tests/system/staticstub/ns3/named1.conf.j2 [new file with mode: 0644]
bin/tests/system/staticstub/ns3/named2.conf.j2 [new file with mode: 0644]
bin/tests/system/staticstub/ns4/named.conf.j2 [moved from bin/tests/system/staticstub/ns4/named.conf.in with 100% similarity]
bin/tests/system/staticstub/setup.sh
bin/tests/system/staticstub/tests.sh