]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Test dig +svcparamkeycompat
authorAram Sargsyan <aram@isc.org>
Mon, 10 Feb 2025 13:25:57 +0000 (13:25 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Mon, 17 Feb 2025 17:33:43 +0000 (17:33 +0000)
This check in the nsupdate system test expects the opaque
representation of the "dohpath" Service Parameter Key. Use
the +svcparamkeycompat dig option to enable it.

bin/tests/system/nsupdate/tests.sh

index 2995bb5b69d0d2b2f6f96b61009c69e44c07732c..c6752ed75cb1d0c8c0021672a3b6a501a2081957 100755 (executable)
@@ -2366,7 +2366,7 @@ check-svcb no
 update add _dns.ns.relaxed 0 in SVCB 1 ns.relaxed dohpath=/{?dns}
 send
 END
-$DIG $DIGOPTS +tcp @10.53.0.3 _dns.ns.relaxed SVCB >dig.out.ns3.test$n || ret=1
+$DIG $DIGOPTS +tcp +svcparamkeycompat @10.53.0.3 _dns.ns.relaxed SVCB >dig.out.ns3.test$n || ret=1
 grep '1 ns.relaxed. key7="/{?dns}"' dig.out.ns3.test$n >/dev/null || ret=1
 [ $ret = 0 ] || {
   echo_i "failed"