]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
wait for upstream transfer to complete
authorMark Andrews <marka@isc.org>
Fri, 8 Mar 2013 06:14:03 +0000 (17:14 +1100)
committerMark Andrews <marka@isc.org>
Fri, 8 Mar 2013 06:16:14 +0000 (17:16 +1100)
bin/tests/system/xfer/clean.sh
bin/tests/system/xfer/tests.sh

index 061e19949617e966eea8ae522038e76888c4f52a..58743ea9065e3e376e554fe101e0ba70f9a32ba7 100644 (file)
@@ -23,6 +23,7 @@
 
 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.soa.ns3
 rm -f axfr.out
 rm -f ns1/slave.db ns2/slave.db
 rm -f ns2/example.db ns2/tsigzone.db ns2/example.db.jnl
index 3eaca5b8d2ef72b3d6073888be574ae08a4369f4..75db0a43d2bce08397f3f9a5630915a8f4d2591f 100644 (file)
@@ -126,6 +126,12 @@ status=`expr $status + $tmp`
 
 echo "I:testing ixfr-from-differences yes;"
 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. \
        @10.53.0.3 axfr -p 5300 > dig.out.ns3 || tmp=1