Commit 2b6e18fd22 for bind

commit 2b6e18fd22ca64710336cbac82173c3d97c3ff42
Author: Petr Špaček <pspacek@isc.org>
Date:   Thu Oct 8 12:14:52 2026 +0000

    Detect named.conf restore failure in rpzrecurse test

    Assisted-by: Claude:claude-opus-5-5

diff --git a/bin/tests/system/rpzrecurse/tests.sh b/bin/tests/system/rpzrecurse/tests.sh
index d0fcf1968b..8a13e216ea 100644
--- a/bin/tests/system/rpzrecurse/tests.sh
+++ b/bin/tests/system/rpzrecurse/tests.sh
@@ -472,12 +472,15 @@ if test $p1 -le $p2; then ret=1; fi
 if test $ret != 0; then echo_i "failed"; fi
 status=$((status + ret))

+ret=0
 $RNDC -c ../_common/rndc.conf -s 10.53.0.3 -p ${CONTROLPORT} flush
 # restore original named.conf
 cp ns3/named1.conf ns3/named.conf
 nextpart ns3/named.run >/dev/null
 $RNDC -c ../_common/rndc.conf -s 10.53.0.3 -p ${CONTROLPORT} reload >/dev/null
 wait_for_log 20 "rpz: policy: reload done" ns3/named.run || ret=1
+if test $ret != 0; then echo_i "failed"; fi
+status=$((status + ret))

 t=$((t + 1))
 echo_i "checking 'nsdname-wait-recurse no' is faster than 'nsdname-wait-recurse yes' ($t)"