Commit d5715b1b39 for bind

commit d5715b1b391cbc1012cb34286060693b72b9babf
Author: Petr Špaček <pspacek@isc.org>
Date:   Thu Dec 3 10:27:34 2026 +0000

    Check the response status in the BRID/HHIT checks

    The type name is always in dig's command echo and question section, so
    these checks passed on any response, SERVFAIL included.

diff --git a/bin/tests/system/auth/tests.sh b/bin/tests/system/auth/tests.sh
index c5f5b005db..5528ceef61 100644
--- a/bin/tests/system/auth/tests.sh
+++ b/bin/tests/system/auth/tests.sh
@@ -245,16 +245,16 @@ status=$((status + ret))
 n=$((n + 1))
 echo_i "check that BRID query does not trigger assertion failure ($n)"
 ret=0
-$DIG $DIGOPTS @10.53.0.1 brid.example.com BRID >dig.out.test$n
-grep "BRID" dig.out.test$n >/dev/null || ret=1
+$DIG $DIGOPTS @10.53.0.1 brid.example.com BRID >dig.out.test$n || ret=1
+grep "status: NOERROR" dig.out.test$n >/dev/null || ret=1
 [ $ret -eq 0 ] || echo_i "failed"
 status=$((status + ret))

 n=$((n + 1))
 echo_i "check that HHIT query does not trigger assertion failure ($n)"
 ret=0
-$DIG $DIGOPTS @10.53.0.1 hhit.example.com HHIT >dig.out.test$n
-grep "HHIT" dig.out.test$n >/dev/null || ret=1
+$DIG $DIGOPTS @10.53.0.1 hhit.example.com HHIT >dig.out.test$n || ret=1
+grep "status: NOERROR" dig.out.test$n >/dev/null || ret=1
 [ $ret -eq 0 ] || echo_i "failed"
 status=$((status + ret))