tests.sh revision d6357f09aacf518df14875fffa819607daa05d17
# Copyright (C) 2004, 2007, 2011-2014 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.9 2011/10/13 22:48:23 tbox Exp $
status=0
echo "I:checking that a forward zone overrides global forwarders"
ret=0
echo "I:checking that a forward first zone no forwarders recurses"
ret=0
echo "I:checking that a forward only zone no forwarders fails"
ret=0
echo "I:checking that global forwarders work"
ret=0
echo "I:checking that a forward zone works"
ret=0
echo "I:checking that forwarding doesn't spontaneously happen"
ret=0
echo "I:checking that a forward zone with no specified policy works"
ret=0
echo "I:checking that a forward only doesn't recurse"
ret=0
echo "I:checking for negative caching of forwarder response"
# prime the cache, shutdown the forwarder then check that we can
# get the answer from the cache. restart forwarder.
ret=0
echo "I:checking that forward only zone overrides empty zone"
ret=0
echo "I:checking that DS lookups for grafting forward zones are isolated"
ret=0
echo "I:checking that rfc1918 inherited 'forward first;' zones are warned about"
ret=0
echo "I:checking that ULA inherited 'forward first;' zones are warned about"
ret=0
echo "I:exit status: $status"
exit $status