diff options
author | Libor Peltan <libor.peltan@nic.cz> | 2024-07-22 11:23:36 +0200 |
---|---|---|
committer | Libor Peltan <libor.peltan@nic.cz> | 2024-07-22 11:23:36 +0200 |
commit | 121ce227f24f9aef770e452b547f56f593bb2503 (patch) | |
tree | 6eff5e63e5f7a2e369a3cd0064833e551b682837 /tests-extra | |
parent | keymgr: mute Coverity (diff) | |
download | knot-121ce227f24f9aef770e452b547f56f593bb2503.tar.xz knot-121ce227f24f9aef770e452b547f56f593bb2503.zip |
test/ddns: fixed escaping of backslash
Diffstat (limited to 'tests-extra')
-rw-r--r-- | tests-extra/tests/ddns/basic/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-extra/tests/ddns/basic/test.py b/tests-extra/tests/ddns/basic/test.py index 3a210e8a8..84be09adf 100644 --- a/tests-extra/tests/ddns/basic/test.py +++ b/tests-extra/tests/ddns/basic/test.py @@ -593,10 +593,10 @@ def do_normal_tests(master, zone, dnssec=False, proto=Proto.TCP): # add empty generic record check_log("Add empty generic record") up = master.update(zone) - up.add("empty.ddns.", 300, "TYPE999", "\# 0") + up.add("empty.ddns.", 300, "TYPE999", "\\# 0") up.send("NOERROR", proto) resp = master.dig("empty.ddns.", "TYPE999") - resp.check_record(rtype="TYPE999", rdata="\# 0") + resp.check_record(rtype="TYPE999", rdata="\\# 0") verify(master, zone, dnssec) # add NAPTR record (NAPTR has special processing) |