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