bind9/tests/dns
Evan Hunt 52bba5cc34 standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.
2025-12-03 13:26:28 -08:00
..
comparekeys Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
testdata replace the build system with meson 2025-06-11 10:30:12 +03:00
testkeys Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
.gitignore Remove test.skr unit test file 2024-09-09 19:41:03 +02:00
acl_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
badcache_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
byaddr_test.c Include <stdarg.h> in byaddr_test.c 2025-11-19 10:16:40 +11:00
db_test.c Decouple database and node lifetimes by adding node-specific vtables 2025-08-07 11:39:38 -07:00
dbdiff_test.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dbiterator_test.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dbversion_test.c Disallow TYPE0 to be queried or inserted into the database 2025-08-15 07:22:52 +02:00
diff_test.c Use ControlStatementsExceptControlMacros for SpaceBeforeParens 2025-08-19 07:58:33 +02:00
dispatch_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
dns64_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dnstap_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
dst_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
ede_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
geoip_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
Kdh.+002+18602.key Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
keytable_test.c change issecuredomain() functions to bool 2025-08-05 12:16:36 +02:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-09 16:22:19 +02:00
master_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
meson.build add API to parse and extract IP from PTR name 2025-10-01 12:16:05 +02:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
name_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
nametree_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
nsec3_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
nsec3param_test.c Export zone functions 2025-10-31 13:43:47 +01:00
private_test.c Preserve brackets around string concatenation 2025-06-25 12:44:22 +10:00
qp_test.c Add more unit tests for dns_qp unit 2025-09-17 15:58:44 +02:00
qpdb_test.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
qpmulti_test.c Fix dns_qpmulti_memusage() on empty dns_qpmulti_t instance 2025-09-16 16:30:15 +02:00
qpzone_test.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
rdata_test.c AMTRELAY type 0 presentation format handling was wrong 2025-11-20 18:28:32 +11:00
rdataset_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
rdatasetstats_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
resconf_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
resolver_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
rsa_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
sigs_test.c Export zone functions 2025-10-31 13:43:47 +01:00
skr_test.c Export zone functions 2025-10-31 13:43:47 +01:00
time_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
transport_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
tsig_test.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
unreachcache_test.c Fix an issue with unreachable cache's unit test 2025-12-02 16:03:26 +00:00
update_test.c standardize CHECK and RETERR macros 2025-12-03 13:26:28 -08:00
zonefile_test.c add extra tokens to the zone file name template 2025-09-08 12:10:09 +02:00
zonemgr_test.c Add and use global memory context called isc_g_mctx 2025-08-04 11:29:26 +02:00
zt_test.c Change the loopmgr to be singleton 2025-07-23 22:44:16 +02:00