]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add test for in-view zone edits
authorMatthijs Mekking <matthijs@isc.org>
Fri, 6 Aug 2021 12:28:01 +0000 (14:28 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Mon, 16 Aug 2021 15:05:46 +0000 (15:05 +0000)
commit598bf1c29b60dde22c7a3385ff979f38dffe5659
tree29d504da28c5d184b3ba9eb78e13a787cd9dd7b4
parentb98594e04859efd3969dc51f2ab1034f667c7ae6
Add test for in-view zone edits

Add a test case for GL #2845 where a zone is in two views, one base
view and one "in-view" and that zone is using an $INCLUDE. Make sure
that there is a jnl file (have ixfr-from-differences enabled and do a
dynamic update). Then freeze and make updates in the included file
(this requires the test.db file also to be updated because 'rndc freeze'
causes the zone file to be overwritten). Finally reload and ensure that
the edit in the included file has been loaded.
bin/tests/system/rndc/clean.sh
bin/tests/system/rndc/ns7/include.db.in [new file with mode: 0644]
bin/tests/system/rndc/ns7/include2.db.in [new file with mode: 0644]
bin/tests/system/rndc/ns7/named.conf.in [new file with mode: 0644]
bin/tests/system/rndc/ns7/test.db.in [new file with mode: 0644]
bin/tests/system/rndc/setup.sh
bin/tests/system/rndc/tests.sh