]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Adjusted additional system test (NS, non-root zone)
authorDiego Fronza <diego@isc.org>
Wed, 21 Oct 2020 19:49:25 +0000 (16:49 -0300)
committerDiego Fronza <diego@isc.org>
Mon, 26 Oct 2020 13:45:27 +0000 (10:45 -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 a45f8d283e4f55098b42acb09b1c2dc7f6e791b0..6400723a557265edb4292a893e8950d80227de24 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