bind9/tests/dns
Evan Hunt 522ca7bb54 switch to ISC_LIST_FOREACH everywhere
the pattern `for (x = ISC_LIST_HEAD(...); x != NULL; ISC_LIST_NEXT(...)`
has been changed to `ISC_LIST_FOREACH` throughout BIND, except in a few
cases where the change would be excessively complex.

in most cases this was a straightforward change. in some places,
however, the list element variable was referenced after the loop
ended, and the code was refactored to avoid this necessity.

also, because `ISC_LIST_FOREACH` uses typeof(list.head) to declare
the list elements, compilation failures can occur if the list object
has a `const` qualifier.  some `const` qualifiers have been removed
from function parameters to avoid this problem, and where that was not
possible, `UNCONST` was used.
2025-03-31 13:45:10 -07:00
..
comparekeys Remove TKEY Mode 2 (Diffie-Hellman) 2023-03-08 08:36:25 +01:00
testdata Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:16:36 +00: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 Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
badcache_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
db_test.c add a unit test with an empty node 2025-03-14 23:19:17 +00:00
dbdiff_test.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dbiterator_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
dbversion_test.c add a unit test to check database rollback 2025-03-14 23:19:17 +00:00
diff_test.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
dispatch_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
dns64_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
dnstap_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
dst_test.c unify fips handling to isc_crypto and make the toggle one way 2025-02-27 17:37:43 +03:00
ede_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01: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 simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-09 16:22:19 +02:00
Makefile.am Move resconf_test.c to tests/dns and cleanup 2024-12-12 22:16:36 +00:00
master_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
name_test.c Silence warning when initialising compress 2025-03-26 12:09:02 +00:00
nametree_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
nsec3_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
nsec3param_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
private_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
qp_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
qpdb_test.c Add isc_sieve unit implementing SIEVE-LRU algorithm 2025-03-26 15:36:33 -07:00
qpmulti_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
qpzone_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
rdata_test.c Relax private DNSKEY and RRSIG constraints 2025-02-25 22:59:46 +00:00
rdataset_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
rdatasetstats_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
resconf_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
resolver_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
rsa_test.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
sigs_test.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
skr_test.c switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
time_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
transport_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
tsig_test.c Simplify dns_name_init() 2025-02-25 12:17:34 +01:00
update_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
zonemgr_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
zt_test.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00