]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check that badalg.secure.example resolves
authorMark Andrews <marka@isc.org>
Thu, 7 Aug 2025 06:27:32 +0000 (16:27 +1000)
committerMark Andrews <marka@isc.org>
Thu, 25 Sep 2025 01:14:27 +0000 (11:14 +1000)
Previously, badalg.secure.example would return SERVFAIL because the DS
records (from the parent) could not be validated.

bin/tests/system/dnssec/tests_validation.py

index fdd529c310b9f3efb32398441f049aae64f3db68..025ec80f3bc6ff2b41167317428ee0ba8e55d58c 100644 (file)
@@ -1320,6 +1320,7 @@ def test_unknown_algorithms():
     # check EDE code 1 for bad algorithm mnemonic
     msg = isctest.query.create("badalg.secure.example", "A")
     res = isctest.query.tcp(msg, "10.53.0.4")
+    isctest.check.noerror(res)
     isctest.check.noadflag(res)
     if hasattr(res, "extended_errors"):
         assert (