mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-09 01:30:39 -04:00
[master] fix bad test output when server fails
This commit is contained in:
parent
d640b4a0ab
commit
3cea62e3df
1 changed files with 2 additions and 2 deletions
|
|
@ -54,8 +54,8 @@ status=`expr $status + $ret`
|
|||
|
||||
echo "I:testing passing client info into DLZ driver"
|
||||
ret=0
|
||||
out=`$DIG $DIGOPTS +short -t txt -q source-addr.example.nil`
|
||||
addr=`eval echo $out | cut -f1 -d'#'`
|
||||
out=`$DIG $DIGOPTS +short -t txt -q source-addr.example.nil | grep -v '^;'`
|
||||
addr=`eval echo "$out" | cut -f1 -d'#'`
|
||||
[ "$addr" = "10.53.0.1" ] || ret=1
|
||||
[ "$ret" -eq 0 ] || echo "I:failed"
|
||||
status=`expr $status + $ret`
|
||||
|
|
|
|||
Loading…
Reference in a new issue