summaryrefslogtreecommitdiffstats
path: root/tests-extra
diff options
context:
space:
mode:
authorJan Hák <jan.hak@nic.cz>2024-07-31 10:26:23 +0200
committerJan Hák <jan.hak@nic.cz>2024-07-31 10:26:23 +0200
commit32442e5ed8286b267f8435de440b7f162907d4a9 (patch)
tree5e95840f298b335f2e9f91c5643753fdc19e240b /tests-extra
parentMerge branch 'peterthomassen-master-patch-57751' into 'master' (diff)
parenttests-extra: change knsupdate wrapper in tests to respect parameter changes i... (diff)
downloadknot-32442e5ed8286b267f8435de440b7f162907d4a9.tar.xz
knot-32442e5ed8286b267f8435de440b7f162907d4a9.zip
Merge branch 'knsupdate_params' into 'master'
knsupdate: rename some params and improve compatibility with nsupdate See merge request knot/knot-dns!1696
Diffstat (limited to 'tests-extra')
-rw-r--r--tests-extra/tools/dnstest/knsupdate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-extra/tools/dnstest/knsupdate.py b/tests-extra/tools/dnstest/knsupdate.py
index 4f814bc7c..485284260 100644
--- a/tests-extra/tools/dnstest/knsupdate.py
+++ b/tests-extra/tools/dnstest/knsupdate.py
@@ -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}"]