mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
[master] tweak logfileconfig test so it can pass on slower machines
This commit is contained in:
@@ -309,9 +309,9 @@ $myRNDC reconfig > rndc.out.test$n 2>&1
|
|||||||
$DIG version.bind txt ch @10.53.0.1 -p 5300 > dig.out.test$n
|
$DIG version.bind txt ch @10.53.0.1 -p 5300 > dig.out.test$n
|
||||||
t2=`$PERL -e 'print time()."\n";'`
|
t2=`$PERL -e 'print time()."\n";'`
|
||||||
t=`expr ${t2:-0} - ${t1:-0}`
|
t=`expr ${t2:-0} - ${t1:-0}`
|
||||||
if test ${t:-1000} -gt 1
|
if test ${t:-1000} -gt 5
|
||||||
then
|
then
|
||||||
echo "I: testing explict versions failed cleanup of old entries took too long"
|
echo "I: testing explict versions failed cleanup of old entries took too long ($t secs)"
|
||||||
status=`expr $status + 1`
|
status=`expr $status + 1`
|
||||||
fi
|
fi
|
||||||
if ! grep "status: NOERROR" dig.out.test$n > /dev/null
|
if ! grep "status: NOERROR" dig.out.test$n > /dev/null
|
||||||
@@ -345,9 +345,9 @@ $myRNDC reconfig > rndc.out.test$n 2>&1
|
|||||||
$DIG version.bind txt ch @10.53.0.1 -p 5300 > dig.out.test$n
|
$DIG version.bind txt ch @10.53.0.1 -p 5300 > dig.out.test$n
|
||||||
t2=`$PERL -e 'print time()."\n";'`
|
t2=`$PERL -e 'print time()."\n";'`
|
||||||
t=`expr ${t2:-0} - ${t1:-0}`
|
t=`expr ${t2:-0} - ${t1:-0}`
|
||||||
if test ${t:-1000} -gt 1
|
if test ${t:-1000} -gt 5
|
||||||
then
|
then
|
||||||
echo "I: testing unlimited versions failed took too long"
|
echo "I: testing unlimited versions failed took too long ($t secs)"
|
||||||
status=`expr $status + 1`
|
status=`expr $status + 1`
|
||||||
fi
|
fi
|
||||||
if ! grep "status: NOERROR" dig.out.test$n > /dev/null
|
if ! grep "status: NOERROR" dig.out.test$n > /dev/null
|
||||||
|
Reference in New Issue
Block a user