From f9e47cfe4f04721480062a67ea80ea80cb03c621 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 14 Jun 2014 10:11:06 +1000 Subject: [PATCH] Net::DNS 0.76 broke the handling of some packets --- bin/tests/system/resolver/prereq.sh | 8 +++++++- bin/tests/system/statistics/prereq.sh | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/resolver/prereq.sh b/bin/tests/system/resolver/prereq.sh index b3fef67438..6363fb9bb5 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 a6c9952206..92e8eda8b1 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