Commit ee32d7e97b for bind
commit ee32d7e97b970e12f53e3c4219515294a6efbe88
Author: Petr Špaček <pspacek@isc.org>
Date: Thu Oct 8 12:14:52 2026 +0000
Detect named restart failure in addzone test
Assisted-by: Claude:claude-opus-5-5
diff --git a/bin/tests/system/addzone/tests.sh b/bin/tests/system/addzone/tests.sh
index ab2eeab10a..079e2b7920 100755
--- a/bin/tests/system/addzone/tests.sh
+++ b/bin/tests/system/addzone/tests.sh
@@ -487,7 +487,6 @@ echo_i "check that named restarts with previously deleted normal.example zone ($
ret=0
stop_server ns2
start_server --noclean --restart --port ${PORT} ns2 || ret=1
-ret=0
$RNDCCMD 10.53.0.2 showzone normal.example >rndc.out.ns2.$n
expected='zone "normal.example" { type primary; file "normal.db"; };'
[ "$(cat rndc.out.ns2.$n)" = "$expected" ] || ret=1