tests.sh revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
#
# Copyright (C) 2000, 2001, 2004, 2007, 2011-2013, 2016 Internet Systems Consortium, Inc. ("ISC")
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# $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"