bind9/tests
Ondřej Surý fbd5f614d7
Enforce type checking for dns_dbnode_t
Originally, the dns_dbnode_t was typedef'ed to void type.  This allowed
some flexibility, but using (void *) just removes any type-checking that
C might have.  Instead of using:

    typedef void dns_dbnode_t;

use a trick to define the type to non-existing structure:

    typedef struct dns_dbnode dns_dbnode_t;

This allows the C compilers to employ the type-checking while the
structure itself doesn't have to be ever defined because the actual
'storage' is never accessed using dns_dbnode_t type.
2024-11-06 17:08:04 +01:00
..
bench corrected code style errors 2024-10-18 19:31:27 +00:00
dns Enforce type checking for dns_dbnode_t 2024-11-06 17:08:04 +01:00
include/tests Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
irs corrected code style errors 2024-10-18 19:31:27 +00:00
isc Add regression test for [GL #4987] 2024-10-17 11:04:32 +11:00
isccfg Add isc_log_createandusechannel() function to simplify usage 2024-08-20 12:50:39 +00:00
libtest Extend ISC_TEST_MAIN for debugging 2024-08-22 09:54:39 +10:00
ns Remove ns_query_init() cannot fail, remove the error paths 2024-07-03 09:05:51 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
unit-test-driver.sh.in Reformat shell scripts with shfmt 2023-10-26 10:23:50 +02:00