tests.sh revision 41f11644387cf54e4affe496c0532165ac41eb87
#
# Copyright (C) 2004, 2007, 2009, 2012 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.
# $Id: tests.sh,v 1.8 2012/01/31 23:47:32 tbox Exp $
status=0
#
echo "I: checking that we detect a NS which refers to a CNAME"
then
else
then
:
else
fi
fi
#
echo "I: checking that we detect a NS which is below a DNAME"
then
else
then
:
else
fi
fi
#
then
else
then
:
else
fi
fi
#
echo "I: checking that we detect a NS which has no records"
then
else
then
:
else
fi
fi
#
echo "I: checking that we detect a NS which looks like a A record (fail)"
then
else
then
:
else
fi
fi
#
echo "I: checking that we detect a NS which looks like a A record (warn=default)"
then
then
:
else
fi
else
fi
#
echo "I: checking that we detect a NS which looks like a A record (ignore)"
then
then
else
:
fi
else
fi
#
echo "I: checking that we detect a NS which looks like a AAAA record (fail)"
then
else
then
:
else
fi
fi
#
echo "I: checking that we detect a NS which looks like a AAAA record (warn=default)"
then
then
:
else
fi
else
fi
#
echo "I: checking that we detect a NS which looks like a AAAA record (ignore)"
then
then
else
:
fi
else
fi
#
echo "I: checking 'rdnc zonestatus' output"
ret=0
echo "I:exit status: $status"
exit $status