From: Mark Andrews Date: Wed, 27 Feb 2013 06:02:16 +0000 (+1100) Subject: ensure test starting conditions are met X-Git-Tag: v9.10.0a1~478^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3d3dd301bdbf3c3fd7d113918025d06b1fe7143;p=thirdparty%2Fbind9.git ensure test starting conditions are met --- diff --git a/bin/tests/system/addzone/tests.sh b/bin/tests/system/addzone/tests.sh index 6eaacc54cc0..97f4205a6b7 100644 --- a/bin/tests/system/addzone/tests.sh +++ b/bin/tests/system/addzone/tests.sh @@ -135,6 +135,11 @@ status=`expr $status + $ret` echo "I:attempting to delete slave zone with inline signing ($n)" ret=0 +for i in 0 1 2 3 4 5 6 7 8 9 +do + test -f ns2/inlineslave.bk.signed -a -f ns2/inlineslave.bk && break + sleep 1 +done $RNDC -c ../common/rndc.conf -s 10.53.0.2 -p 9953 delzone inlineslave.example 2>&1 > rndc.out2.test$n grep '^inlineslave.bk$' rndc.out2.test$n > /dev/null || { echo "I:failed to report inlineslave.bk"; ret=1;