mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 07:52:51 -04:00
Handle non-zero return codes unknown test
This commit is contained in:
parent
86765ad1d3
commit
f3310e1731
1 changed files with 1 additions and 1 deletions
|
|
@ -226,7 +226,7 @@ status=$((status + ret))
|
|||
n=$((n+1))
|
||||
echo_i "check that 'TYPE353 \# cat' produces 'not a valid number' ($n)"
|
||||
ret=0
|
||||
$CHECKZONE nan.bad zones/nan.bad > check.out 2>&1
|
||||
$CHECKZONE nan.bad zones/nan.bad > check.out 2>&1 && ret=1
|
||||
grep "not a valid number" check.out > /dev/null || ret=1
|
||||
[ $ret = 0 ] || echo_i "failed"
|
||||
status=$((status + ret))
|
||||
|
|
|
|||
Loading…
Reference in a new issue