From: Aram Sargsyan Date: Wed, 7 May 2025 13:32:15 +0000 (+0000) Subject: Fix catz system test error X-Git-Tag: v9.21.9~46^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f200b1ac18e8085e0689656da1af2f59d84db4ee;p=thirdparty%2Fbind9.git Fix catz system test error The '|| ret=1' is omitted from the check. This was introduced in the b171cacf4f0123ba96bef6eedfc92dfb608db6b7 commit. Fix the error. --- diff --git a/bin/tests/system/catz/tests.sh b/bin/tests/system/catz/tests.sh index 80cbc8168e3..576436886cd 100644 --- a/bin/tests/system/catz/tests.sh +++ b/bin/tests/system/catz/tests.sh @@ -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))