From: Mark Andrews Date: Sat, 14 Jun 2014 00:11:06 +0000 (+1000) Subject: Net::DNS 0.76 broke the handling of some packets X-Git-Tag: v9.11.0a1~1539 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f9e47cfe4f04721480062a67ea80ea80cb03c621;p=thirdparty%2Fbind9.git Net::DNS 0.76 broke the handling of some packets --- diff --git a/bin/tests/system/resolver/prereq.sh b/bin/tests/system/resolver/prereq.sh index b3fef67438f..6363fb9bb52 100644 --- a/bin/tests/system/resolver/prereq.sh +++ b/bin/tests/system/resolver/prereq.sh @@ -20,7 +20,13 @@ SYSTEMTESTTOP=.. if $PERL -e 'use Net::DNS;' 2>/dev/null then - : + if $PERL -e 'use Net::DNS; die if $Net::DNS::VERSION >= 0.76;' 2>/dev/null + then + : + else + echo "I:Net::DNS version 0.76 has a bug that causes this test to fail: please update." >&2 + exit 1 + fi else echo "I:This test requires the Net::DNS library." >&2 exit 1 diff --git a/bin/tests/system/statistics/prereq.sh b/bin/tests/system/statistics/prereq.sh index a6c9952206e..92e8eda8b18 100644 --- a/bin/tests/system/statistics/prereq.sh +++ b/bin/tests/system/statistics/prereq.sh @@ -16,7 +16,13 @@ if $PERL -e 'use Net::DNS;' 2>/dev/null then - : + if $PERL -e 'use Net::DNS; die if $Net::DNS::VERSION >= 0.76;' 2>/dev/null + then + : + else + echo "I:Net::DNS version 0.76 has a bug that causes this test to fail: please update." >&2 + exit 1 + fi else echo "I:This test requires the Net::DNS library." >&2 exit 1