]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjusted additional system test (NS, non-root zone)
authorDiego Fronza <diego@isc.org>
Fri, 2 Oct 2020 15:07:59 +0000 (12:07 -0300)
committerDiego Fronza <diego@isc.org>
Wed, 21 Oct 2020 15:12:57 +0000 (12:12 -0300)
After the updates from this branch, BIND now sends glue records for
NS queries even when configured with minimal-responses yes.

bin/tests/system/additional/tests.sh

index 572397cfa36bdea1f3873313fa27d3d2646e23ee..025f11fa7489c8394604a7d1068c229c234275be 100644 (file)
@@ -227,7 +227,7 @@ dotests() {
     $DIG $DIGOPTS -t NS rt.example @10.53.0.1 > dig.out.$n || ret=1
     case $minimal in
     yes)
-      grep 'ADDITIONAL: 1' dig.out.$n > /dev/null || ret=1
+      grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1
       ;;
     no)
       grep 'ADDITIONAL: 2' dig.out.$n > /dev/null || ret=1