tests.sh revision 8e15d5eb3a000f1341e6bea0ddbc28d6dd2a0591
#
# Copyright (C) 2004, 2007, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.16 2011/11/02 23:46:24 tbox Exp $
status=0
echo "I:check that the stub zone has been saved to disk"
do
[ -f ns3/child.example.st ] && break
sleep 1
done
do
echo "I:trying an axfr that should be denied (NOTAUTH) (pass=$pass)"
ret=0
echo "I:look for stub zone data without recursion (should not be found) (pass=$pass)"
do
ret=0
[ $ret = 0 ] && break
sleep 1
done
echo "I:look for stub zone data with recursion (should be found) (pass=$pass)"
ret=0
echo "I:stopping stub server"
echo "I:re-starting stub server"
}
done
echo "I:exit status: $status"
exit $status