]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
test for Net::DNS::Nameserver
authorMark Andrews <marka@isc.org>
Thu, 12 Oct 2017 04:33:47 +0000 (15:33 +1100)
committerMark Andrews <marka@isc.org>
Thu, 12 Oct 2017 04:33:47 +0000 (15:33 +1100)
bin/tests/system/chain/prereq.sh
bin/tests/system/serve-stale/prereq.sh

index b4bae48762856831b15b0fda27b83174610110ce..8d767357f9dfef3aef2cf83539651ee3c270c14e 100644 (file)
@@ -38,3 +38,10 @@ else
     echo "I:This test requires the perl Net::DNS library." >&2
     exit 1
 fi
+if $PERL -e 'use Net::DNS::Nameserver;' 2>/dev/null
+then
+       :
+else
+    echo "I:This test requires the Net::DNS::Nameserver library." >&2
+    exit 1
+fi
index d858e505ba4cc49ffba7a8e01d0a04bbb664755a..169c1cc9fe32c96b06fc4229f058b790c8335f2f 100644 (file)
@@ -19,3 +19,10 @@ else
     echo "I:This test requires the Net::DNS library." >&2
     exit 1
 fi
+if $PERL -e 'use Net::DNS::Nameserver;' 2>/dev/null
+then
+       :
+else
+       echo "I:This test requires the Net::DNS::Nameserver library." >&2
+       exit 1
+fi