]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor test covering dns_ede API
authorColin Vidal <colin@isc.org>
Wed, 29 Jan 2025 17:34:51 +0000 (18:34 +0100)
committerColin Vidal <colin@isc.org>
Thu, 30 Jan 2025 12:37:55 +0000 (12:37 +0000)
commit7e3a650ae221b697d95cfb231a34c0ad77194bef
treee41e985f20b659ebceed9e3b9f15bdf99a1e10ae
parent1ffb67a13524ea626ce558c31d7ad44b54e59564
Refactor test covering dns_ede API

Migrate tests cases in client_test code which were exclusively testing
code which is now all wrapped inside ede compilation unit. Those are
testing maximum number of EDE, duplicate EDE as well as truncation of
text of an EDE.

Also add coverage for the copy of EDE from an edectx to another one, as
well as checking the assertion of the maximum EDE info code which can be
used.

(cherry picked from commit f9f41190b397429b151e48dac369ab5797ed6082)
lib/dns/ede.c
lib/dns/include/dns/message.h
tests/dns/ede_test.c
tests/ns/Makefile.am
tests/ns/client_test.c [deleted file]