]> 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:23:57 +0000 (01:23 +0000)
committerMark Andrews <marka@isc.org>
Wed, 15 Feb 2012 01:23:57 +0000 (01:23 +0000)
bin/tests/system/masterformat/tests.sh

index 6a3fda8dadc5e692ca7c8cfe88900d28319adc28..274e17cbb1610fde6e484f32da04ea09157cc458 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.4.558.2 2012/02/14 23:46:06 tbox Exp $
+# $Id: tests.sh,v 1.4.558.3 2012/02/15 01:23:57 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -54,7 +54,7 @@ exit $status
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.4.558.2 2012/02/14 23:46:06 tbox Exp $
+# $Id: tests.sh,v 1.4.558.3 2012/02/15 01:23:57 marka Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -77,12 +77,17 @@ done
 diff dig.out.1 dig.out.2 || status=1
 
 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`