test for Net::DNS::Nameserver

This commit is contained in:
Mark Andrews
2017-10-12 15:33:47 +11:00
parent 2bd2487f51
commit 5b60d0608a
2 changed files with 14 additions and 0 deletions

View 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

View 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