2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

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

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