2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

wait for upstream transfer to complete

This commit is contained in:
Mark Andrews 2013-03-08 17:14:03 +11:00
parent 3a0da183bb
commit fae66f41c5
2 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@
rm -f dig.out.ns1 dig.out.ns2 dig.out.ns3 dig.out.ns4 rm -f dig.out.ns1 dig.out.ns2 dig.out.ns3 dig.out.ns4
rm -f dig.out.ns5 dig.out.ns6 dig.out.ns7 rm -f dig.out.ns5 dig.out.ns6 dig.out.ns7
rm -f dig.out.soa.ns3
rm -f axfr.out rm -f axfr.out
rm -f ns1/slave.db ns2/slave.db rm -f ns1/slave.db ns2/slave.db
rm -f ns2/example.db ns2/tsigzone.db ns2/example.db.jnl rm -f ns2/example.db ns2/tsigzone.db ns2/example.db.jnl

View File

@ -126,6 +126,12 @@ status=`expr $status + $tmp`
echo "I:testing ixfr-from-differences yes;" echo "I:testing ixfr-from-differences yes;"
tmp=0 tmp=0
for i in 0 1 2 3 4 5 6 7 8 9
do
$DIG $DIGOPTS @10.53.0.3 -p 5300 +noall +answer soa example > dig.out.soa.ns3
grep "1397051953" dig.out.soa.ns3 > /dev/null && break;
sleep 1
done
$DIG $DIGOPTS example. \ $DIG $DIGOPTS example. \
@10.53.0.3 axfr -p 5300 > dig.out.ns3 || tmp=1 @10.53.0.3 axfr -p 5300 > dig.out.ns3 || tmp=1