From b56607d483d6fa805dae4fb702c8bb08ee384dbf Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 14 May 2001 22:35:57 +0000 Subject: [PATCH] the ixfr test requires Net::DNS --- bin/tests/system/ixfr/prereq.sh | 26 ++++++++++++++++++++++++++ util/copyrights | 1 + 2 files changed, 27 insertions(+) create mode 100644 bin/tests/system/ixfr/prereq.sh diff --git a/bin/tests/system/ixfr/prereq.sh b/bin/tests/system/ixfr/prereq.sh new file mode 100644 index 0000000000..9536aaf3c4 --- /dev/null +++ b/bin/tests/system/ixfr/prereq.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# +# Copyright (C) 2000, 2001 Internet Software Consortium. +# +# Permission to use, copy, modify, and distribute this software for any +# 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 INTERNET SOFTWARE CONSORTIUM +# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL +# INTERNET SOFTWARE CONSORTIUM 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: prereq.sh,v 1.1 2001/05/14 22:35:57 gson Exp $ + +if $PERL -e 'use Net::DNS;' 2>/dev/null +then + : +else + echo "I:This test requires the Net::DNS library." >&2 + exit 1 +fi diff --git a/util/copyrights b/util/copyrights index f44408ddd6..26bee83860 100644 --- a/util/copyrights +++ b/util/copyrights @@ -439,6 +439,7 @@ ./bin/tests/system/glue/yy.good X 2000,2001 ./bin/tests/system/ifconfig.sh SH 2000,2001 ./bin/tests/system/ixfr/clean.sh SH 2001 +./bin/tests/system/ixfr/prereq.sh SH 2001 ./bin/tests/system/ixfr/setup.sh SH 2001 ./bin/tests/system/ixfr/tests.sh SH 2001 ./bin/tests/system/ixfr/ans2/.cvsignore X 2001