tests.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# Copyright (C) 2000, 2001, 2004, 2007, 2012, 2016 Internet Systems Consortium, Inc. ("ISC")
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# This Source Code Form is subject to the terms of the Mozilla Public
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# License, v. 2.0. If a copy of the MPL was not distributed with this
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# file, You can obtain one at http://mozilla.org/MPL/2.0/.
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# $Id: tests.sh,v 1.25 2007/06/19 23:47:07 tbox Exp $
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff# Perform tests
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff echo "I:Changing test zone..."
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff echo "I:Took too long to load zones"
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff echo "I:Have $count zones up in $seconds seconds"
1ec39fc7a8b6ad92de3363d4c50b75e24fcd6accMichael Graff$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
1ec39fc7a8b6ad92de3363d4c50b75e24fcd6accMichael Graff zone000099.example. @10.53.0.1 axfr -p 5300 > dig.out.ns1 || status=1
1ec39fc7a8b6ad92de3363d4c50b75e24fcd6accMichael Graff$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
1ec39fc7a8b6ad92de3363d4c50b75e24fcd6accMichael Graff zone000099.example. @10.53.0.2 axfr -p 5300 > dig.out.ns2 || status=1
ab0e5066083abcbec62513a3cc041d1f1eb9098aMichael Graff$PERL ../digcomp.pl dig.out.ns1 dig.out.ns2 || status=1
ab0e5066083abcbec62513a3cc041d1f1eb9098aMichael Graff$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graff a.changing. @10.53.0.1 a -p 5300 > dig.out.ns1 || status=1
1ec39fc7a8b6ad92de3363d4c50b75e24fcd6accMichael Graff$DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
ab0e5066083abcbec62513a3cc041d1f1eb9098aMichael Graff a.changing. @10.53.0.2 a -p 5300 > dig.out.ns2 || status=1
ab0e5066083abcbec62513a3cc041d1f1eb9098aMichael Graff$PERL ../digcomp.pl dig.out.ns1 dig.out.ns2 || status=1
83f8c56f43852bf9a9c6964eae285284b23f9d8dMichael Graffecho "I:exit status: $status"