From: Aram Sargsyan Date: Mon, 10 Feb 2025 13:27:44 +0000 (+0000) Subject: Update the rdata unit test X-Git-Tag: ondrej/lock-free-qpzone-reads-v1~58^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d441c93d042a1d2e9ce9a0b8b47f8d578af111d;p=thirdparty%2Fbind9.git Update the rdata unit test Update the rdata unit test to accommodate the change in the default represenation of the Service Parameter Keys (SvcParamKeys) for the SVCB records. --- diff --git a/tests/dns/rdata_test.c b/tests/dns/rdata_test.c index bed419a20e4..85ed8056ed9 100644 --- a/tests/dns/rdata_test.c +++ b/tests/dns/rdata_test.c @@ -2698,31 +2698,32 @@ ISC_RUN_TEST_IMPL(https_svcb) { "key123=abc)"), /* dohpath tests */ TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{dns}", - "1 example.net. key7=\"/{dns}\""), + "1 example.net. dohpath=\"/{dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{+dns}", - "1 example.net. key7=\"/{+dns}\""), + "1 example.net. dohpath=\"/{+dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{#dns}", - "1 example.net. key7=\"/{#dns}\""), + "1 example.net. dohpath=\"/{#dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{.dns}", - "1 example.net. key7=\"/{.dns}\""), - TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=\"/{;dns}\"", - "1 example.net. key7=\"/{;dns}\""), + "1 example.net. dohpath=\"/{.dns}\""), + TEXT_VALID_LOOP(1, "1 example.net. dohpath=\"/{;dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{?dns}", - "1 example.net. key7=\"/{?dns}\""), + "1 example.net. dohpath=\"/{?dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/some/path{?dns}", - "1 example.net. key7=\"/some/path{?dns}\""), + "1 example.net. " + "dohpath=\"/some/path{?dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{dns:9999}", - "1 example.net. key7=\"/{dns:9999}\""), + "1 example.net. dohpath=\"/{dns:9999}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. dohpath=/{dns*}", - "1 example.net. key7=\"/{dns*}\""), + "1 example.net. dohpath=\"/{dns*}\""), TEXT_VALID_LOOPCHG( 1, "1 example.net. dohpath=/some/path?key=value{&dns}", - "1 example.net. key7=\"/some/path?key=value{&dns}\""), + "1 example.net. " + "dohpath=\"/some/path?key=value{&dns}\""), TEXT_VALID_LOOPCHG(1, "1 example.net. " "dohpath=/some/path?key=value{&dns,x*}", "1 example.net. " - "key7=\"/some/path?key=value{&dns,x*}\""), + "dohpath=\"/some/path?key=value{&dns,x*}\""), TEXT_INVALID("1 example.com. dohpath=not-relative"), TEXT_INVALID("1 example.com. dohpath=/{?no_dns_variable}"), TEXT_INVALID("1 example.com. dohpath=/novariable"),