mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 12:13:20 -04:00
Handle dig timing out gracefully in auth
(cherry picked from commit ddb41798d5)
This commit is contained in:
parent
6dc3ebe494
commit
c84e34dbbc
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ status=$((status + ret))
|
|||
n=$((n + 1))
|
||||
echo_i "check that CHAOS addresses are compared correctly ($n)"
|
||||
ret=0
|
||||
$DIG $DIGOPTS @10.53.0.1 +noall +answer ch test.example.chaos >dig.out.test$n
|
||||
$DIG $DIGOPTS @10.53.0.1 +noall +answer ch test.example.chaos >dig.out.test$n || ret=1
|
||||
lines=$(wc -l <dig.out.test$n)
|
||||
[ ${lines:-0} -eq 2 ] || ret=1
|
||||
[ $ret -eq 0 ] || echo_i "failed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue