diff --git a/bin/tests/system/forward/prereq.sh b/bin/tests/system/forward/prereq.sh new file mode 100644 index 0000000000000000000000000000000000000000..0e299f4db8fbc512f049d3567eabc62fd4c1cfc1 --- /dev/null +++ b/bin/tests/system/forward/prereq.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) Internet Systems Consortium, Inc. ("ISC") +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# See the COPYRIGHT file distributed with this work for additional +# information regarding copyright ownership. + +SYSTEMTESTTOP=.. +. $SYSTEMTESTTOP/conf.sh + +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 c9e900b82d33710d7d921f2c4232fea921034902..3725ce19f5e9ef3d98244ad3ecc939cbe77aceea 100644 --- a/util/copyrights +++ b/util/copyrights @@ -647,6 +647,7 @@ ./bin/tests/system/forward/clean.sh SH 2000,2001,2004,2007,2012,2014,2015,2016,2018,2019 ./bin/tests/system/forward/ns1/example.db X 2000,2001,2018 ./bin/tests/system/forward/ns2/example.db X 2000,2001,2018 +./bin/tests/system/forward/prereq.sh SH 2019 ./bin/tests/system/forward/setup.sh SH 2018,2019 ./bin/tests/system/forward/tests.sh SH 2000,2001,2004,2007,2011,2012,2013,2014,2016,2018,2019 ./bin/tests/system/genzone.sh SH 2001,2002,2003,2004,2007,2009,2011,2012,2013,2014,2015,2016,2017,2018,2019