bind9/tests
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
..
bench Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
dns switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -07:00
include/tests Replace isc_mem_destroy() with isc_mem_detach() 2025-03-05 11:17:17 +01:00
isc fix out-of-tree mem_test 2025-03-28 13:29:22 +01:00
isccfg Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
libtest switch to ISC_LIST_FOREACH everywhere 2025-03-31 13:45:10 -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