2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Use prereq.sh for xfer system test

This commit is contained in:
Tom Krizek
2023-09-04 15:00:12 +02:00
parent 27281955af
commit 587129b4c0
3 changed files with 7 additions and 8 deletions

View File

@@ -179,16 +179,13 @@ TESTS += \
verify \
views \
wildcard \
xfer \
xferquota \
zero \
zonechecks
if HAVE_PERLMOD_NET_DNS
if HAVE_PERLMOD_DIGEST_HMAC
TESTS += xfer
endif HAVE_PERLMOD_DIGEST_HMAC
if HAVE_PERLMOD_NET_DNS_NAMESERVER
TESTS += reclimit
endif HAVE_PERLMOD_NET_DNS_NAMESERVER

View File

@@ -23,4 +23,10 @@ then
exit 1
fi
if ! ${PERL} -MDigest::HMAC -e ''
then
echo_i "perl Digest::HMAC module is required"
exit 1
fi
exit 0

View File

@@ -311,10 +311,6 @@ AC_PATH_PROGS([PERL], [perl5 perl])
AC_SUBST([PERL])
AM_CONDITIONAL([HAVE_PERL], [test -n "$PERL"])
AX_PERL_MODULE([Digest::HMAC])
AM_CONDITIONAL([HAVE_PERLMOD_DIGEST_HMAC],
[test "$HAVE_PERLMOD_DIGEST__HMAC" = "yes"])
AX_PERL_MODULE([Net::DNS])
AM_CONDITIONAL([HAVE_PERLMOD_NET_DNS],
[test "$HAVE_PERLMOD_NET__DNS" = "yes"])