bind9/tests
Evan Hunt afb424c9b6 simplify dns_name_fromtext() interface
previously, dns_name_fromtext() took both a target name and an
optional target buffer parameter, which could override the name's
dedicated buffer. this interface is unnecessarily complex.

we now have two functions, dns_name_fromtext() to convert text
into a dns_name that has a dedicated buffer, and dns_name_wirefromtext()
to convert text into uncompressed DNS wire format and append it to a
target buffer.

in cases where it really is necessary to have both, we can use
dns_name_fromtext() to load the dns_name, then dns_name_towire()
to append the wire format to the target buffer.
2025-02-25 12:53:25 -08:00
..
bench simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
dns simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
include/tests Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
isc Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
isccfg Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
libtest simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
ns Move the library init and shutdown to executables 2025-02-22 16:19:00 +01: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