2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Fix server-stale requirement, skip without Time::HiRes

This commit is contained in:
Petr Menšík
2018-06-05 21:38:29 +02:00
committed by Ondřej Surý
parent 85da0086a8
commit 7a0c7bf9c8

View File

@@ -9,6 +9,9 @@
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
if $PERL -e 'use Net::DNS;' 2>/dev/null
then
if $PERL -e 'use Net::DNS; die if ($Net::DNS::VERSION >= 0.69 && $Net::DNS::VERSION <= 0.74);' 2>/dev/null
@@ -29,3 +32,10 @@ else
echo "I:This test requires the Net::DNS::Nameserver library." >&2
exit 1
fi
if $PERL -e 'use Time::HiRes;' 2>/dev/null
then
:
else
echo "I:This test requires the Time::HiRes library." >&2
exit 1
fi