tests.sh revision 5855fd79e375c74fc9df57ce0b4c4ef1b9fcdc3e
# Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
#
# 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.
status=0
n=1
do
echo "I:checking $db ($n)"
ret=0
;;
;;
*)
;;
esac
n=`expr $n + 1`
done
do
echo "I:checking $db ($n)"
ret=0
;;
*)
;;
esac
n=`expr $n + 1`
done
echo "I:checking with journal file ($n)"
ret=0
jlines=`$JOURNALPRINT test.orig.db.jnl | wc -l`
n=`expr $n + 1`
echo "I:checking with spf warnings ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking with max ttl (text) ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking with max ttl (raw) ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking with max ttl (map) ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking for no 'inherited owner' warning on '\$INCLUDE file' with no new \$ORIGIN ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking for 'inherited owner' warning on '\$ORIGIN + \$INCLUDE file' ($n)"
ret=0
n=`expr $n + 1`
echo "I:checking for 'inherited owner' warning on '\$INCLUDE file origin' ($n)"
ret=0
n=`expr $n + 1`
echo "I:exit status: $status"
exit $status