Fix catz system test error

The '|| ret=1' is omitted from the check. This was introduced in the
b171cacf4f commit. Fix the error.
This commit is contained in:
Aram Sargsyan 2025-05-07 13:32:15 +00:00 committed by Arаm Sаrgsyаn
parent 229a47afdb
commit f200b1ac18

View file

@ -2445,8 +2445,8 @@ n=$((n + 1))
echo_i "waiting for secondary to sync up ($n)"
ret=0
wait_for_message ns2/named.run "catz: catz_delzone_cb: zone 'dom17.example' deleted" \
&& wait_for_message ns2/named.run "catz: catz_delzone_cb: zone 'dom18.example' deleted" \
&& if [ $ret -ne 0 ]; then echo_i "failed"; fi
&& wait_for_message ns2/named.run "catz: catz_delzone_cb: zone 'dom18.example' deleted" || ret=1
if [ $ret -ne 0 ]; then echo_i "failed"; fi
status=$((status + ret))
n=$((n + 1))