bind9/tests/isc
Ondřej Surý 7cefcb6184
Allow zero length keys in isc_hashmap
In case, we are trying to hash the empty key into the hashmap, the key
is going to have zero length.  This might happen in the unit test.
Allow this and add a unit test to ensure the empty zero-length key
doesn't hash to slot 0 as SipHash 2-4 (our hash function of choice) has
no problem with zero-length inputs.
2022-12-14 17:59:07 +01:00
..
testdata/file Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
aes_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ascii_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
async_test.c isc_async_run() runs events in reverse order 2022-10-31 05:43:45 -07:00
buffer_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
counter_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
crc64_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
doh_test.c DoH unit test: remove broken remnants of slowdown logic 2022-10-12 16:24:04 +03:00
errno_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
file_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hash_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hashmap_test.c Allow zero length keys in isc_hashmap 2022-12-14 17:59:07 +01:00
heap_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
hmac_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
ht_test.c Add isc_hashmap API that implements Robin Hood hashing 2022-11-10 15:07:19 +01:00
job_test.c isc_async_run() runs events in reverse order 2022-10-31 05:43:45 -07:00
lex_test.c Change the return type of isc_lex_create() to void 2022-10-26 12:55:06 +02:00
loop_test.c New event loop handling API 2022-08-25 12:24:29 +02:00
Makefile.am Add isc_hashmap API that implements Robin Hood hashing 2022-11-10 15:07:19 +01:00
md_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
mem_test.c Replace isc_mem_*_aligned(..., alignment) with isc_mem_*x(..., flags) 2022-10-05 16:44:05 +02:00
netaddr_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
netmgr_common.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
netmgr_common.h Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
parse_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
quota_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
radix_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
random_test.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
ratelimiter_test.c Deduplicate time unit conversion factors 2022-11-25 13:23:36 +00:00
regex_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
result_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
safe_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
siphash_test.c Add a case-insensitive option directly to siphash 2-4 implementation 2022-10-04 10:32:40 +02:00
sockaddr_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
stats_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
symtab_test.c Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
task_test.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tcp_test.c Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
tcpdns_test.c TCP and TLS DNS tests: properly pass connection callback 2022-11-01 14:42:08 +02:00
time_test.c Deduplicate time unit conversion factors 2022-11-25 13:23:36 +00:00
timer_test.c Deduplicate time unit conversion factors 2022-11-25 13:23:36 +00:00
tls_test.c Make sure the unit test listening and connecting ports are different 2022-10-12 15:36:25 +02:00
tlsdns_test.c TLS DNS unit tests: do not share the port with TCP DNS tests 2022-11-01 14:42:08 +02:00
udp_test.c Update sources to Clang 15 formatting 2022-11-29 08:54:34 +01:00
uv_wrap.h Bump the libuv requirement to libuv >= 1.34.0 2022-09-27 17:09:10 +02:00
work_test.c New event loop handling API 2022-08-25 12:24:29 +02:00