Handle non-zero return codes in upforwd test

This commit is contained in:
Tom Krizek 2023-06-15 15:22:59 +02:00
parent 146cb978c5
commit 855f5b143a
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7

View file

@ -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))