From: Evan Hunt Date: Thu, 4 Sep 2014 03:51:32 +0000 (-0700) Subject: [master] oops, nta lifetime change broke dnssec test X-Git-Tag: v9.11.0a1~1378^2~66 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c3d02211045d8f52ff35813a4026ee24409ca349;p=thirdparty%2Fbind9.git [master] oops, nta lifetime change broke dnssec test --- diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index 1736fe20797..436f8e48bfb 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -1796,7 +1796,7 @@ echo "I:check with bad nta lifetime" $RNDC -c ../common/rndc.conf -s 10.53.0.4 -p 9953 nta -l garbage foo > rndc.out.ns4.test$n.2 2>&1 grep "'nta' failed: bad ttl" rndc.out.ns4.test$n.2 > /dev/null || ret=1 echo "I:check with too long nta lifetime" -$RNDC -c ../common/rndc.conf -s 10.53.0.4 -p 9953 nta -l 5d23h foo > rndc.out.ns4.test$n.3 2>&1 +$RNDC -c ../common/rndc.conf -s 10.53.0.4 -p 9953 nta -l 7d1h foo > rndc.out.ns4.test$n.3 2>&1 grep "'nta' failed: out of range" rndc.out.ns4.test$n.3 > /dev/null || ret=1 if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret`