]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace the trivial setup.sh system test files
authorNicki Křížek <nicki@isc.org>
Tue, 1 Oct 2024 13:13:06 +0000 (15:13 +0200)
committerNicki Křížek <nicki@isc.org>
Wed, 16 Apr 2025 08:47:56 +0000 (10:47 +0200)
commit209be9ee33dc6a801df7477f9600ac49eacc1bb5
treea6cb162b3c8589a83e6f730accec263f36db96da
parent34b7323bad6b0ffe1444aab417cc5bd94d187bcf
Replace the trivial setup.sh system test files

All these setup files only use copy_setports function which can be done
with jinja2 templates instead -- simply by renaming the .in files to
.j2, without any other changes. The pytest runner will render these
templates during test setup without any need for an additional script.

(cherry picked from commit a9f1b8d6a64c956f9f122b4459d24b8bccab3429)
112 files changed:
bin/tests/system/auth/ns1/named.conf.j2 [moved from bin/tests/system/auth/ns1/named.conf.in with 100% similarity]
bin/tests/system/auth/ns2/named.conf.j2 [moved from bin/tests/system/auth/ns2/named.conf.in with 100% similarity]
bin/tests/system/auth/setup.sh [deleted file]
bin/tests/system/builtin/ns1/named.conf.j2 [moved from bin/tests/system/builtin/ns1/named.conf.in with 100% similarity]
bin/tests/system/builtin/ns2/named.conf.j2 [moved from bin/tests/system/builtin/ns2/named.conf.in with 100% similarity]
bin/tests/system/builtin/ns3/named.conf.j2 [moved from bin/tests/system/builtin/ns3/named.conf.in with 100% similarity]
bin/tests/system/builtin/setup.sh [deleted file]
bin/tests/system/cacheclean/ns1/named.conf.j2 [moved from bin/tests/system/cacheclean/ns1/named.conf.in with 100% similarity]
bin/tests/system/cacheclean/ns2/named.conf.j2 [moved from bin/tests/system/cacheclean/ns2/named.conf.in with 100% similarity]
bin/tests/system/cacheclean/setup.sh [deleted file]
bin/tests/system/camp/ns1/named.conf.j2 [moved from bin/tests/system/camp/ns1/named.conf.in with 100% similarity]
bin/tests/system/camp/ns2/named.conf.j2 [moved from bin/tests/system/camp/ns2/named.conf.in with 100% similarity]
bin/tests/system/camp/ns3/named.conf.j2 [moved from bin/tests/system/camp/ns3/named.conf.in with 100% similarity]
bin/tests/system/camp/ns9/named.conf.j2 [moved from bin/tests/system/camp/ns9/named.conf.in with 100% similarity]
bin/tests/system/camp/setup.sh
bin/tests/system/cookie/ns1/named.conf.j2 [moved from bin/tests/system/cookie/ns1/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns2/named.conf.j2 [moved from bin/tests/system/cookie/ns2/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns3/named.conf.j2 [moved from bin/tests/system/cookie/ns3/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns4/named.conf.j2 [moved from bin/tests/system/cookie/ns4/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns5/named.conf.j2 [moved from bin/tests/system/cookie/ns5/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns6/named.conf.j2 [moved from bin/tests/system/cookie/ns6/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns7/named.conf.j2 [moved from bin/tests/system/cookie/ns7/named.conf.in with 100% similarity]
bin/tests/system/cookie/ns8/named.conf.j2 [moved from bin/tests/system/cookie/ns8/named.conf.in with 100% similarity]
bin/tests/system/cookie/setup.sh [deleted file]
bin/tests/system/cpu/ns1/named.conf.j2 [moved from bin/tests/system/cpu/ns1/named.conf.in with 100% similarity]
bin/tests/system/cpu/setup.sh [deleted file]
bin/tests/system/dispatch/ns1/named.conf.j2 [moved from bin/tests/system/dispatch/ns1/named.conf.in with 100% similarity]
bin/tests/system/dispatch/ns2/named.conf.j2 [moved from bin/tests/system/dispatch/ns2/named.conf.in with 100% similarity]
bin/tests/system/dispatch/setup.sh [deleted file]
bin/tests/system/dyndb/ns1/named.conf.j2 [moved from bin/tests/system/dyndb/ns1/named.conf.in with 100% similarity]
bin/tests/system/dyndb/setup.sh [deleted file]
bin/tests/system/ednscompliance/ns1/named.conf.j2 [moved from bin/tests/system/ednscompliance/ns1/named.conf.in with 100% similarity]
bin/tests/system/ednscompliance/setup.sh [deleted file]
bin/tests/system/formerr/ns1/named.conf.j2 [moved from bin/tests/system/formerr/ns1/named.conf.in with 100% similarity]
bin/tests/system/formerr/setup.sh [deleted file]
bin/tests/system/hooks/ns1/named.conf.j2 [moved from bin/tests/system/hooks/ns1/named.conf.in with 100% similarity]
bin/tests/system/hooks/setup.sh [deleted file]
bin/tests/system/idna/ns1/named.conf.j2 [moved from bin/tests/system/idna/ns1/named.conf.in with 100% similarity]
bin/tests/system/idna/setup.sh [deleted file]
bin/tests/system/include-multiplecfg/ns2/named.conf.j2 [moved from bin/tests/system/include-multiplecfg/ns2/named.conf.in with 100% similarity]
bin/tests/system/include-multiplecfg/setup.sh [deleted file]
bin/tests/system/integrity/ns1/named.conf.j2 [moved from bin/tests/system/integrity/ns1/named.conf.in with 100% similarity]
bin/tests/system/integrity/setup.sh [deleted file]
bin/tests/system/keepalive/ns1/named.conf.j2 [moved from bin/tests/system/keepalive/ns1/named.conf.in with 100% similarity]
bin/tests/system/keepalive/ns2/named.conf.j2 [moved from bin/tests/system/keepalive/ns2/named.conf.in with 100% similarity]
bin/tests/system/keepalive/ns3/named.conf.j2 [moved from bin/tests/system/keepalive/ns3/named.conf.in with 100% similarity]
bin/tests/system/keepalive/setup.sh [deleted file]
bin/tests/system/limits/ns1/named.conf.j2 [moved from bin/tests/system/limits/ns1/named.conf.in with 100% similarity]
bin/tests/system/limits/setup.sh [deleted file]
bin/tests/system/masterfile/ns1/named.conf.j2 [moved from bin/tests/system/masterfile/ns1/named.conf.in with 100% similarity]
bin/tests/system/masterfile/ns2/named.conf.j2 [moved from bin/tests/system/masterfile/ns2/named.conf.in with 100% similarity]
bin/tests/system/masterfile/setup.sh [deleted file]
bin/tests/system/names/ns1/named.conf.j2 [moved from bin/tests/system/names/ns1/named.conf.in with 100% similarity]
bin/tests/system/names/setup.sh [deleted file]
bin/tests/system/nzd2nzf/ns1/named.conf.j2 [moved from bin/tests/system/nzd2nzf/ns1/named.conf.in with 100% similarity]
bin/tests/system/nzd2nzf/setup.sh [deleted file]
bin/tests/system/pipelined/ns1/named.conf.j2 [moved from bin/tests/system/pipelined/ns1/named.conf.in with 100% similarity]
bin/tests/system/pipelined/ns2/named.conf.j2 [moved from bin/tests/system/pipelined/ns2/named.conf.in with 100% similarity]
bin/tests/system/pipelined/ns3/named.conf.j2 [moved from bin/tests/system/pipelined/ns3/named.conf.in with 100% similarity]
bin/tests/system/pipelined/ns4/named.conf.j2 [moved from bin/tests/system/pipelined/ns4/named.conf.in with 100% similarity]
bin/tests/system/pipelined/setup.sh [deleted file]
bin/tests/system/qmin/ns1/named.conf.j2 [moved from bin/tests/system/qmin/ns1/named.conf.in with 100% similarity]
bin/tests/system/qmin/ns5/named.conf.j2 [moved from bin/tests/system/qmin/ns5/named.conf.in with 100% similarity]
bin/tests/system/qmin/ns6/named.conf.j2 [moved from bin/tests/system/qmin/ns6/named.conf.in with 100% similarity]
bin/tests/system/qmin/ns7/named.conf.j2 [moved from bin/tests/system/qmin/ns7/named.conf.in with 100% similarity]
bin/tests/system/qmin/setup.sh [deleted file]
bin/tests/system/query-source/ns1/named.conf.j2 [moved from bin/tests/system/query-source/ns1/named.conf.in with 100% similarity]
bin/tests/system/query-source/ns2/named.conf.j2 [moved from bin/tests/system/query-source/ns2/named.conf.in with 100% similarity]
bin/tests/system/query-source/ns3/named.conf.j2 [moved from bin/tests/system/query-source/ns3/named.conf.in with 100% similarity]
bin/tests/system/query-source/ns4/named.conf.j2 [moved from bin/tests/system/query-source/ns4/named.conf.in with 100% similarity]
bin/tests/system/query-source/ns5/named.conf.j2 [moved from bin/tests/system/query-source/ns5/named.conf.in with 100% similarity]
bin/tests/system/query-source/setup.sh [deleted file]
bin/tests/system/rpzextra/ns2/named.conf.j2 [moved from bin/tests/system/rpzextra/ns2/named.conf.in with 100% similarity]
bin/tests/system/rpzextra/ns3/named.conf.j2 [moved from bin/tests/system/rpzextra/ns3/named.conf.in with 100% similarity]
bin/tests/system/rpzextra/setup.sh [deleted file]
bin/tests/system/rrl/ns1/named.conf.j2 [moved from bin/tests/system/rrl/ns1/named.conf.in with 100% similarity]
bin/tests/system/rrl/ns2/named.conf.j2 [moved from bin/tests/system/rrl/ns2/named.conf.in with 100% similarity]
bin/tests/system/rrl/ns3/named.conf.j2 [moved from bin/tests/system/rrl/ns3/named.conf.in with 100% similarity]
bin/tests/system/rrl/ns4/named.conf.j2 [moved from bin/tests/system/rrl/ns4/named.conf.in with 100% similarity]
bin/tests/system/rrl/setup.sh [deleted file]
bin/tests/system/rrsetorder/ns1/named.conf.j2 [moved from bin/tests/system/rrsetorder/ns1/named.conf.in with 100% similarity]
bin/tests/system/rrsetorder/ns2/named.conf.j2 [moved from bin/tests/system/rrsetorder/ns2/named.conf.in with 100% similarity]
bin/tests/system/rrsetorder/ns3/named.conf.j2 [moved from bin/tests/system/rrsetorder/ns3/named.conf.in with 100% similarity]
bin/tests/system/rrsetorder/ns4/named.conf.j2 [moved from bin/tests/system/rrsetorder/ns4/named.conf.in with 100% similarity]
bin/tests/system/rrsetorder/ns5/named.conf.j2 [moved from bin/tests/system/rrsetorder/ns5/named.conf.in with 100% similarity]
bin/tests/system/rrsetorder/setup.sh [deleted file]
bin/tests/system/shutdown/ns1/named.conf.j2 [moved from bin/tests/system/shutdown/ns1/named.conf.in with 100% similarity]
bin/tests/system/shutdown/ns2/named.conf.j2 [moved from bin/tests/system/shutdown/ns2/named.conf.in with 100% similarity]
bin/tests/system/shutdown/resolver/named.conf.j2 [moved from bin/tests/system/shutdown/resolver/named.conf.in with 100% similarity]
bin/tests/system/shutdown/setup.sh [deleted file]
bin/tests/system/spf/ns1/named.conf.j2 [moved from bin/tests/system/spf/ns1/named.conf.in with 100% similarity]
bin/tests/system/spf/setup.sh [deleted file]
bin/tests/system/stub/ns1/named.conf.j2 [moved from bin/tests/system/stub/ns1/named.conf.in with 100% similarity]
bin/tests/system/stub/ns2/named.conf.j2 [moved from bin/tests/system/stub/ns2/named.conf.in with 100% similarity]
bin/tests/system/stub/ns3/named.conf.j2 [moved from bin/tests/system/stub/ns3/named.conf.in with 100% similarity]
bin/tests/system/stub/ns4/named.conf.j2 [moved from bin/tests/system/stub/ns4/named.conf.in with 100% similarity]
bin/tests/system/stub/ns5/named.conf.j2 [moved from bin/tests/system/stub/ns5/named.conf.in with 100% similarity]
bin/tests/system/stub/setup.sh [deleted file]
bin/tests/system/tcp/ns1/named.conf.j2 [moved from bin/tests/system/tcp/ns1/named.conf.in with 100% similarity]
bin/tests/system/tcp/ns2/named.conf.j2 [moved from bin/tests/system/tcp/ns2/named.conf.in with 100% similarity]
bin/tests/system/tcp/ns3/named.conf.j2 [moved from bin/tests/system/tcp/ns3/named.conf.in with 100% similarity]
bin/tests/system/tcp/ns4/named.conf.j2 [moved from bin/tests/system/tcp/ns4/named.conf.in with 100% similarity]
bin/tests/system/tcp/ns5/named.conf.j2 [moved from bin/tests/system/tcp/ns5/named.conf.in with 100% similarity]
bin/tests/system/tcp/ns7/named.conf.j2 [moved from bin/tests/system/tcp/ns7/named.conf.in with 100% similarity]
bin/tests/system/tcp/setup.sh [deleted file]
bin/tests/system/ttl/ns1/named.conf.j2 [moved from bin/tests/system/ttl/ns1/named.conf.in with 100% similarity]
bin/tests/system/ttl/ns2/named.conf.j2 [moved from bin/tests/system/ttl/ns2/named.conf.in with 100% similarity]
bin/tests/system/ttl/setup.sh [deleted file]
bin/tests/system/unknown/ns1/named.conf.j2 [moved from bin/tests/system/unknown/ns1/named.conf.in with 100% similarity]
bin/tests/system/unknown/ns2/named.conf.j2 [moved from bin/tests/system/unknown/ns2/named.conf.in with 100% similarity]
bin/tests/system/unknown/ns3/named.conf.j2 [moved from bin/tests/system/unknown/ns3/named.conf.in with 100% similarity]
bin/tests/system/unknown/setup.sh [deleted file]