]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet...
authorMark Andrews <marka@isc.org>
Wed, 15 Feb 2012 01:22:47 +0000 (01:22 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Feb 2012 01:22:47 +0000 (01:22 +0000)
bin/tests/system/masterformat/tests.sh

index 410ffe088fae7e152a47d89881c7b977a2cdb19f..5cc80cb3afa75742095df899e784dde88d18f1e2 100755 (executable)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.10.20.3 2012/02/13 23:51:51 marka Exp $
+# $Id: tests.sh,v 1.10.20.4 2012/02/15 01:22:47 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -117,12 +117,17 @@ done
 status=`expr $status + $ret`
 
 echo "I:checking that large rdatasets loaded"
+for i in 0 1 2 3 4 5 6 7 8 9
+do
 ret=0
 for a in a b c
 do
        $DIG +tcp txt ${a}.large @10.53.0.2 -p 5300 > dig.out
        grep "status: NOERROR" dig.out > /dev/null || ret=1
 done
+[ $ret -eq 0 ] && break
+sleep 1
+done
 [ $ret -eq 0 ] || echo "I:failed"
 status=`expr $status + $ret`