]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace selected setup.sh system test files
authorNicki Křížek <nicki@isc.org>
Fri, 4 Oct 2024 14:44:13 +0000 (16:44 +0200)
committerNicki Křížek <nicki@isc.org>
Wed, 16 Apr 2025 08:47:58 +0000 (10:47 +0200)
commitbef30229fce79f76e0e54cebbcf7c911e367bb94
tree34a90abfd10aec6409e1372bed231e8b06fe07b9
parent209be9ee33dc6a801df7477f9600ac49eacc1bb5
Replace selected setup.sh system test files

These setup.sh scripts only do templating and copying files. Both of
these can be replaced with either jinja templates, or using plain files.
Since each test invocation creates its own temporary directory, copying
files to ensure a "clean" state is no longer necessary.

In cases where named writes some content to the files, a jinja template
can be used instead of a plain file to avoid an artifact check which
would detect a change to a git-tracked file.

(cherry picked from commit e0f0c557a0b305a83967a0e75c9f955f410a2cc9)
33 files changed:
bin/tests/system/case/ns1/dynamic.db [moved from bin/tests/system/case/ns1/dynamic.db.in with 100% similarity]
bin/tests/system/case/ns1/named.conf.j2 [moved from bin/tests/system/case/ns1/named.conf.in with 100% similarity]
bin/tests/system/case/ns2/named.conf.j2 [moved from bin/tests/system/case/ns2/named.conf.in with 100% similarity]
bin/tests/system/case/setup.sh [deleted file]
bin/tests/system/checkconf/bad-kasp-keydir1.conf.j2 [moved from bin/tests/system/checkconf/bad-kasp-keydir1.conf.in with 100% similarity]
bin/tests/system/checkconf/bad-kasp-keydir2.conf.j2 [moved from bin/tests/system/checkconf/bad-kasp-keydir2.conf.in with 100% similarity]
bin/tests/system/checkconf/bad-kasp-keydir3.conf.j2 [moved from bin/tests/system/checkconf/bad-kasp-keydir3.conf.in with 100% similarity]
bin/tests/system/checkconf/bad-kasp-keydir4.conf.j2 [moved from bin/tests/system/checkconf/bad-kasp-keydir4.conf.in with 100% similarity]
bin/tests/system/checkconf/bad-kasp-keydir5.conf.j2 [moved from bin/tests/system/checkconf/bad-kasp-keydir5.conf.in with 100% similarity]
bin/tests/system/checkconf/bad-tsig.conf.j2 [moved from bin/tests/system/checkconf/bad-tsig.conf.in with 100% similarity]
bin/tests/system/checkconf/good-server-christmas-tree.conf [moved from bin/tests/system/checkconf/good-server-christmas-tree.conf.in with 100% similarity]
bin/tests/system/checkconf/good.conf.j2 [moved from bin/tests/system/checkconf/good.conf.in with 100% similarity]
bin/tests/system/checkconf/setup.sh [deleted file]
bin/tests/system/checknames/ns1/fail.example.db [moved from bin/tests/system/checknames/ns1/fail.example.db.in with 100% similarity]
bin/tests/system/checknames/ns1/fail.update.db [moved from bin/tests/system/checknames/ns1/fail.update.db.in with 100% similarity]
bin/tests/system/checknames/ns1/ignore.example.db [moved from bin/tests/system/checknames/ns1/ignore.example.db.in with 100% similarity]
bin/tests/system/checknames/ns1/ignore.update.db [moved from bin/tests/system/checknames/ns1/ignore.update.db.in with 100% similarity]
bin/tests/system/checknames/ns1/named.conf.j2 [moved from bin/tests/system/checknames/ns1/named.conf.in with 100% similarity]
bin/tests/system/checknames/ns1/warn.example.db [moved from bin/tests/system/checknames/ns1/warn.example.db.in with 100% similarity]
bin/tests/system/checknames/ns1/warn.update.db [moved from bin/tests/system/checknames/ns1/warn.update.db.in with 100% similarity]
bin/tests/system/checknames/ns2/named.conf.j2 [moved from bin/tests/system/checknames/ns2/named.conf.in with 100% similarity]
bin/tests/system/checknames/ns3/named.conf.j2 [moved from bin/tests/system/checknames/ns3/named.conf.in with 100% similarity]
bin/tests/system/checknames/ns4/named.conf.j2 [moved from bin/tests/system/checknames/ns4/named.conf.in with 100% similarity]
bin/tests/system/checknames/ns4/primary-ignore.update.db [moved from bin/tests/system/checknames/ns4/primary-ignore.update.db.in with 100% similarity]
bin/tests/system/checknames/ns5/master-ignore.update.db [moved from bin/tests/system/checknames/ns5/master-ignore.update.db.in with 100% similarity]
bin/tests/system/checknames/ns5/named.conf.j2 [moved from bin/tests/system/checknames/ns5/named.conf.in with 100% similarity]
bin/tests/system/checknames/setup.sh [deleted file]
bin/tests/system/dnstap/ns1/named.conf.j2 [moved from bin/tests/system/dnstap/ns1/named.conf.in with 100% similarity]
bin/tests/system/dnstap/ns2/example.db.j2 [moved from bin/tests/system/dnstap/ns2/example.db.in with 100% similarity]
bin/tests/system/dnstap/ns2/named.conf.j2 [moved from bin/tests/system/dnstap/ns2/named.conf.in with 100% similarity]
bin/tests/system/dnstap/ns3/named.conf.j2 [moved from bin/tests/system/dnstap/ns3/named.conf.in with 100% similarity]
bin/tests/system/dnstap/ns4/named.conf.j2 [moved from bin/tests/system/dnstap/ns4/named.conf.in with 100% similarity]
bin/tests/system/dnstap/setup.sh [deleted file]