tests.sh revision 3867312e4cc5c53d20f4020cc5b2459154406135
#
# Copyright (C) 2014 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=0
zone=.
n=`expr $n + 1`
echo "I:check +edns=100 sets version 100 ($n)"
n=`expr $n + 1`
echo "I:check +ednsopt=100 adds option 100 ($n)"
n=`expr $n + 1`
echo "I:check +ednsflags=0x80 sets flags to 0080 ($n)"
n=`expr $n + 1`
echo "I:Unknown EDNS version ($n)"
n=`expr $n + 1`
echo "I:Unknown EDNS option ($n)"
n=`expr $n + 1`
echo "I:Unknown EDNS version + option ($n)"
n=`expr $n + 1`
echo "I:Unknown EDNS flag ($n)"
n=`expr $n + 1`
echo "I:Unknown EDNS version + flag ($n)"
n=`expr $n + 1`
echo "I:exit status: $status"
exit $status