]> git.ipfire.org Git - thirdparty/bind9.git/commit
Extend prerequisites for the "xfer" system test
authorMichał Kępień <michal@isc.org>
Tue, 30 Jul 2019 19:08:40 +0000 (21:08 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 30 Jul 2019 20:22:28 +0000 (22:22 +0200)
commit2ce4f23bc010522380b299713d0cb2edb69d217f
treec9691e7701389ff9de4780303a6b30fd35f3fa9b
parent566f76b1fe924ca4d98bbc7b370455e24514630b
Extend prerequisites for the "xfer" system test

The Net::DNS Perl module needs the Digest::HMAC module to support TSIG.
However, since the latter is not a hard requirement for the former, some
packagers do not make Net::DNS depend on Digest::HMAC.  If Net::DNS is
installed on a host but Digest::HMAC is not, the "xfer" system test
breaks in a very hard-to-debug way (ans5 returns TSIG RRs with empty
RDATA, which prevents TSIG-signed SOA queries and transfers from
working).  Prevent this from happening by making the "xfer" system test
explicitly require Digest::HMAC apart from Net::DNS.

(cherry picked from commit b10d28d1e026f1bb8bfff10d9053cff51f20d136)
bin/tests/system/xfer/prereq.sh