Commit 7bd313a702 for bind

commit 7bd313a702fa4a8c25759a20307f8980cce28e2f
Author: Petr Špaček <pspacek@isc.org>
Date:   Tue Oct 20 11:58:23 2026 +0000

    Detect named-checkconf -i failures and log it

    Record command failures alongside unexpected output so a failing
    invocation does not abort the rest of the suite under set -e.

    Assisted-by: Codex:gpt-6

diff --git a/bin/tests/system/checkconf/tests.sh b/bin/tests/system/checkconf/tests.sh
index 8a634c80cc..e4ec02dacf 100644
--- a/bin/tests/system/checkconf/tests.sh
+++ b/bin/tests/system/checkconf/tests.sh
@@ -200,7 +200,7 @@ status=$((status + ret))
 n=$((n + 1))
 echo_i "checking named-checkconf -i ignores deprecate warnings ($n)"
 ret=0
-$CHECKCONF -i deprecated.conf >checkconf.out$n 2>&1
+$CHECKCONF -i deprecated.conf >checkconf.out$n 2>&1 || ret=1
 [ -s checkconf.out$n ] && ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status + ret))