bind9/tests
Evan Hunt 60b129da25 Add zone "initial-file" option
When loading a primary zone for the first time, if the zonefile
does not exist but an "initial-file" option has been set, then a
new file will be copied into place from the path specified by
"initial-file".

This can be used to simplify the process of adding new zones. For
instance, a template zonefile could be used by running:

    $ rndc addzone example.com \
        '{ type primary; file "example.db"; initial-file "template.db"; };'
2025-06-03 12:03:07 -07:00
..
bench Silence potential divide by zero warning in qpmulti.c 2025-06-02 23:07:31 +00:00
dns Add zone "initial-file" option 2025-06-03 12:03:07 -07:00
include/tests Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
isc Give every memory pool a name 2025-05-29 05:46:46 +02:00
isccfg add CFG_LIST_FOREACH macro 2025-05-27 21:08:09 -07:00
libtest Add zone "initial-file" option 2025-06-03 12:03:07 -07:00
ns wrap ns_client_error() for unit testing 2025-02-25 22:40:48 +00:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:16:36 +00:00
unit-test-driver.sh.in Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00