From 855f5b143a7b4cd614305dbb8cc50b56d6dfd5ec Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Thu, 15 Jun 2023 15:22:59 +0200 Subject: [PATCH] Handle non-zero return codes in upforwd test --- bin/tests/system/upforwd/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/upforwd/tests.sh b/bin/tests/system/upforwd/tests.sh index 81343758b6..02a128eabc 100644 --- a/bin/tests/system/upforwd/tests.sh +++ b/bin/tests/system/upforwd/tests.sh @@ -394,7 +394,7 @@ ret=0 update add another.unsigned.example. 600 TXT Bar send EOF -} > nsupdate.out.$n 2>&1 +} > nsupdate.out.$n 2>&1 && ret=1 grep REFUSED nsupdate.out.$n > /dev/null || ret=1 if [ $ret != 0 ] ; then echo_i "failed"; status=$((status + ret)); fi n=$((n + 1))