mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 07:40:00 -04:00
catz test: wait for dom8.example to be transferred before checking its availability
This commit is contained in:
parent
05bf7e4e3e
commit
ce47ca8c6b
1 changed files with 13 additions and 0 deletions
|
|
@ -729,6 +729,19 @@ do
|
|||
}
|
||||
try=`expr $try + 1`
|
||||
done
|
||||
if [ $ret = 0 ]; then
|
||||
ret=1
|
||||
try=0
|
||||
while test $try -lt 45
|
||||
do
|
||||
sleep 1
|
||||
sed -n "$cur,"'$p' < ns2/named.run | grep "transfer of 'dom8.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" > /dev/null && {
|
||||
ret=0
|
||||
break
|
||||
}
|
||||
try=`expr $try + 1`
|
||||
done
|
||||
fi
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue