]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix dnssec system test iterations too high
authorMatthijs Mekking <matthijs@isc.org>
Tue, 30 Jan 2024 16:21:34 +0000 (17:21 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 6 May 2024 12:44:10 +0000 (14:44 +0200)
After we have changed the maximum allowed iterations to 51 for signing,
the NSEC3 chain has changed and requires one more NSEC to be returned
in the answer (plus corresponding RRSIG). So the expected number or
records in the authority section is now 8.

bin/tests/system/dnssec/tests.sh

index 1bd0386b7a6dbc4ad1a190bc4e75940b4f4d87b5..db91fae310a503db4a31e62989f226b7f221fd62 100644 (file)
@@ -4396,7 +4396,7 @@ dig_with_opts @10.53.0.4 does-not-exist.too-many-iterations >dig.out.ns4.test$n
 digcomp dig.out.ns2.test$n dig.out.ns4.test$n || ret=1
 grep "flags: qr rd ra;" dig.out.ns4.test$n >/dev/null || ret=1
 grep "status: NXDOMAIN" dig.out.ns4.test$n >/dev/null || ret=1
-grep "ANSWER: 0, AUTHORITY: 6" dig.out.ns4.test$n >/dev/null || ret=1
+grep "ANSWER: 0, AUTHORITY: 8" dig.out.ns4.test$n >/dev/null || ret=1
 n=$((n + 1))
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status + ret))