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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user