From f200b1ac18e8085e0689656da1af2f59d84db4ee Mon Sep 17 00:00:00 2001 From: Aram Sargsyan Date: Wed, 7 May 2025 13:32:15 +0000 Subject: [PATCH] Fix catz system test error The '|| ret=1' is omitted from the check. This was introduced in the b171cacf4f0123ba96bef6eedfc92dfb608db6b7 commit. Fix the error. --- bin/tests/system/catz/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/catz/tests.sh b/bin/tests/system/catz/tests.sh index 80cbc8168e..576436886c 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))