]> git.ipfire.org Git - thirdparty/bind9.git/commit
add query unit test
authorColin Vidal <colin@isc.org>
Wed, 28 May 2025 09:54:19 +0000 (11:54 +0200)
committerColin Vidal <colin@isc.org>
Tue, 9 Sep 2025 07:42:34 +0000 (09:42 +0200)
commit1114b1eac0fced55d327b3bee247f73a9fb16f11
treef1ccd3d544675ac60afde0b8ad1a8eb81664b2f7
parentb8e44d62593af4857ae637b32b269939a78338f5
add query unit test

A new query unit test covers the logic where zone hooks must be called
first, then view ones, and finally the default hooks. It also ensures
that if any hook returns NS_HOOK_RETURN the chain immediately stops.
tests/include/tests/ns.h
tests/libtest/ns.c
tests/ns/query_test.c