mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Handle non-zero return codes unknown test
This commit is contained in:
parent
86765ad1d3
commit
f3310e1731
@ -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…
x
Reference in New Issue
Block a user