]> 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:14:03 +0000 (17:14 +1100)
bin/tests/system/xfer/clean.sh
bin/tests/system/xfer/tests.sh

index d1525222eaa64cf781254e9e9c40a4b738a5060f..48aa159137c14913de9122db2e843b9d7cdc08dd 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 5a6a186265d872a121ec03074cf7a80cb11c6775..4b96c8fc3f8ce2e8069079d180672a223bfd1eef 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