]> git.ipfire.org Git - thirdparty/bind9.git/commit
Expand name compression unit test
authorMark Andrews <marka@isc.org>
Fri, 24 Jun 2022 02:29:23 +0000 (12:29 +1000)
committerOndřej Surý <ondrej@isc.org>
Mon, 11 Jul 2022 10:26:15 +0000 (12:26 +0200)
commit8dae4e415d4ca5a0ced9b85179e6f7d680df5373
treef3b3730d419a63b44d1fcbb45fa684fd31b63ee3
parentddad2050928e29e8175d1a79431ec15b476da727
Expand name compression unit test

The name compression unit test is expanded to check that the compressed
form matches the expected wire pattern.

Record owner names are compressed differently to rdata names by
calling dns_name_towire2 instead of dns_name_towire so check that
owner names are compressed correctly as well.
tests/dns/name_test.c