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:
@@ -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
|
||||
|
Reference in New Issue
Block a user