]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix cacheclean system test for parent-centric resolver
authorColin Vidal <colin@isc.org>
Thu, 19 Feb 2026 15:56:10 +0000 (16:56 +0100)
committerColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 18:41:13 +0000 (20:41 +0200)
commit6735613af38dec264a5a111a6cfc1ff86b7e9868
treeb5eb7dbcc29ba6511aec35ef428fb1cc78be3793
parentddd0d95903fbf4318f87906c278a1ab2375a277f
Fix cacheclean system test for parent-centric resolver

The ADB flushtree test was failing because the test zone
(flushtest.example.) uses an in-domain nameserver with parent glue,
so the ADB cache was never populated.

Add a new zone with an out-of-domain nameserver to force an ADB
lookup and ensure the flushtree test exercises the intended code
path.
bin/tests/system/cacheclean/ns1/bar.com.db [new file with mode: 0644]
bin/tests/system/cacheclean/ns1/example.db
bin/tests/system/cacheclean/ns1/named.conf.j2
bin/tests/system/cacheclean/ns2/named.args
bin/tests/system/cacheclean/ns3/foo.bar.com.db [new file with mode: 0644]
bin/tests/system/cacheclean/ns3/named.conf.j2 [new file with mode: 0644]
bin/tests/system/cacheclean/tests.sh