]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Net::DNS 0.76 broke the handling of some packets
authorMark Andrews <marka@isc.org>
Sat, 14 Jun 2014 00:11:06 +0000 (10:11 +1000)
committerMark Andrews <marka@isc.org>
Sat, 14 Jun 2014 00:12:34 +0000 (10:12 +1000)
(cherry picked from commit f9e47cfe4f04721480062a67ea80ea80cb03c621)

bin/tests/system/resolver/prereq.sh

index b3fef67438f9c7dd1e6630bc1148280c5aa5baf9..6363fb9bb52a99355f8d8519087c50fd79a0d130 100644 (file)
@@ -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