Compare commits

...

1 Commits

Author SHA1 Message Date
Ondřej Surý
2227553b53 Merge branch 'fix-missing-prereq-net-dns' into 'master'
Fix missing prereq Net::DNS in couple of tests

See merge request ISCdotORG/bind9!18

(cherry picked from commit 3a181cfbb00d0a89c933631a1a1054969b3d5a1b)

00e6020d Fix missing Net::DNS prerequisites in tests
a5d52368 Add -f to autoreconf call from autogen.sh
2017-10-18 19:30:27 +00:00
5 changed files with 52 additions and 3 deletions

View File

@@ -7,4 +7,4 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Run this script after modifying configure.in to generate configure
autoreconf -i
autoreconf -fi

View File

@@ -0,0 +1,16 @@
#!/bin/sh
#
# Copyright (C) 2017 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/.
. ../conf.sh
if ! $PERL -e 'use Net::DNS;' 2>/dev/null; then
echoinfo "I:This test requires the Net::DNS library." >&2
exit 1
fi
exit 0

View File

@@ -0,0 +1,15 @@
#!/bin/sh
#
# Copyright (C) 2017 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/.
if ! $PERL -e 'use Net::DNS;' 2>/dev/null; then
echoinfo "I:This test requires the Net::DNS library." >&2
exit 1
fi
exit 0

View File

@@ -6,8 +6,12 @@
# 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/.
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
. ../conf.sh
if ! $PERL -e 'use Net::DNS;' 2>/dev/null; then
echoinfo "I:This test requires the Net::DNS library." >&2
exit 1
fi
ret=0
$FEATURETEST --rpz-nsdname || ret=1

View File

@@ -0,0 +1,14 @@
#!/bin/sh
#
# Copyright (C) 2017 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/.
if ! $PERL -e 'use Net::DNS;' 2>/dev/null; then
echoinfo "I:This test requires the Net::DNS library." >&2
exit 1
fi
exit 0