3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028]

This commit is contained in:
Mark Andrews
2012-02-22 14:30:38 +00:00
parent b4270bf81d
commit 6d4935ecf5
5 changed files with 201 additions and 147 deletions
+7 -2
View File
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.5.814.2 2011/03/05 23:52:08 tbox Exp $
# $Id: tests.sh,v 1.5.814.3 2012/02/22 14:30:37 marka Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
@@ -59,7 +59,12 @@ EOF
$RNDCCMD reload
sleep 2
for i in 0 1 2 3 4 5 6 7 8 9
do
$DIGCMD nil. SOA > dig.out
grep "SOA" dig.out > /dev/null && break
sleep 1
done
$DIGCMD nil. TXT | grep 'initial AXFR' >/dev/null || {
echo "I:failed"