]> git.ipfire.org Git - thirdparty/bind9.git/commit
Test infrastructure for the qp-trie
authorTony Finch <fanf@isc.org>
Tue, 14 Jun 2022 15:20:28 +0000 (16:20 +0100)
committerTony Finch <fanf@isc.org>
Mon, 27 Feb 2023 13:47:25 +0000 (13:47 +0000)
commitc1c679b1a93a2ab00cffd788ec8864c7097c159a
tree92c814705e3da38df97c21dd0692724c7a5b6e60
parentdf6747ee70c4237b56f51e479a1bf598498d8d58
Test infrastructure for the qp-trie

This change adds a number of support routines for the unit tests, and
for benchmarks and fuzz tests to be added later. It isn't necessary to
include the support routines in libdns, since they are not needed by
BIND's installed programs. So `libtest` seems like the best place for
them.

The tests themselves verify that dns_qpkey_fromname() behaves as
expected.
Makefile.am
tests/dns/Makefile.am
tests/dns/qp_test.c [new file with mode: 0644]
tests/include/tests/qp.h [new file with mode: 0644]
tests/libtest/Makefile.am
tests/libtest/qp.c [new file with mode: 0644]