bind9/tests/dns
Evan Hunt fe05278424 fix several bugs in the RBTDB dbiterator implementation
- the DNS_DB_NSEC3ONLY and DNS_DB_NONSEC3 flags are mutually
  exclusive; it never made sense to set both at the same time.
  to enforce this, it is now a fatal error to do so.  the
  dbiterator implementation has been cleaned up to remove
  code that treated the two as independent: if nonsec3 is
  true, we can be certain nsec3only is false, and vice versa.
- previously, iterating a database backwards omitted
  NSEC3 records even if DNS_DB_NONSEC3 had not been set. this
  has been corrected.
- when an iterator reaches the origin node of the NSEC3 tree, we
  need to skip over it and go to the next node in the sequence.
  the NSEC3 origin node is there for housekeeping purposes and
  never contains data.
- the dbiterator_test unit test has been expanded, several
  incorrect expectations have been fixed. (for example, the
  expected number of iterations has been reduced by one; we were
  previously counting the NSEC3 origin node and we should not
  have been doing so.)

(cherry picked from commit e40fd4ed06)
2024-02-15 11:34:34 -08:00
..
comparekeys Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
testdata Properly adjust the srcdir vs builddir paths 2022-06-01 17:45:34 +02:00
testkeys Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
acl_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
db_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
dbdiff_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
dbiterator_test.c fix several bugs in the RBTDB dbiterator implementation 2024-02-15 11:34:34 -08:00
dbversion_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
dh_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
dispatch_test.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
dns64_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
dnstap_test.c Properly adjust the srcdir vs builddir paths 2022-06-01 17:45:34 +02:00
dst_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
geoip_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
Kdh.+002+18602.key Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
keytable_test.c Add synth-from-dnssec namespaces for keytable entries 2022-07-07 07:47:45 +10:00
Krsa.+008+29238.key Check if RSASHA1 is supported by the OS 2022-08-10 17:26:29 +10:00
Makefile.am Detect uncleared libcrypto errors in rdata processing 2023-09-01 14:21:49 +10:00
master_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
mkraw.pl Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
name_test.c Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
nsec3_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
nsec3param_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
private_test.c Update clang to version 14 2022-06-16 18:09:33 +02:00
rbt_test.c Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
rbtdb_test.c Add test for dns_rbtdb overmem purging 2023-07-26 13:39:24 +02:00
rdata_test.c Detect uncleared libcrypto errors in rdata processing 2023-09-01 14:21:49 +10:00
rdataset_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
rdatasetstats_test.c Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
resolver_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
rsa_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
sigs_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
time_test.c Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
tsig_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
update_test.c Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
zonemgr_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00
zt_test.c Include <inttypes.h> whenever including <cmocka.h> 2023-05-18 15:36:03 +02:00