From: Mark Andrews Date: Fri, 8 Mar 2013 06:14:03 +0000 (+1100) Subject: wait for upstream transfer to complete X-Git-Tag: v9.10.0a1~448^2~89 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=fae66f41c548a8cd4ef2496bc83ab3a28fa125a4;p=thirdparty%2Fbind9.git wait for upstream transfer to complete --- diff --git a/bin/tests/system/xfer/clean.sh b/bin/tests/system/xfer/clean.sh index d1525222eaa..48aa159137c 100644 --- a/bin/tests/system/xfer/clean.sh +++ b/bin/tests/system/xfer/clean.sh @@ -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 diff --git a/bin/tests/system/xfer/tests.sh b/bin/tests/system/xfer/tests.sh index 5a6a186265d..4b96c8fc3f8 100644 --- a/bin/tests/system/xfer/tests.sh +++ b/bin/tests/system/xfer/tests.sh @@ -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