]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: change knsupdate wrapper in tests to respect parameter changes in knsupdate
authorJan Hák <jan.hak@nic.cz>
Wed, 31 Jul 2024 08:17:25 +0000 (10:17 +0200)
committerJan Hák <jan.hak@nic.cz>
Wed, 31 Jul 2024 08:18:36 +0000 (10:18 +0200)
tests-extra/tools/dnstest/knsupdate.py

index 4f814bc7cf7085501072864464bf00e92c43e28a..4852842607ef090308ce1f74ed3920d39e26839a 100644 (file)
@@ -57,11 +57,11 @@ class Knsupdate:
         cmdline = [params.knsupdate_bin]
 
         if proto is Proto.TCP:
-            cmdline += ["-v"]
-        elif proto is Proto.TLS:
             cmdline += ["-T"]
+        elif proto is Proto.TLS:
+            cmdline += ["-S"]
         elif proto is Proto.QUIC:
-            cmdline += ["-q"]
+            cmdline += ["-Q"]
 
         if self.tsig:
             cmdline += ["-y", f"{self.tsig.alg}:{self.tsig.name}:{self.tsig.key}"]