4061. [bug] Handle timeout in legacy system test. [RT #38573]

(cherry picked from commit 2ff2145ff5)
This commit is contained in:
Mark Andrews 2015-02-11 16:53:39 +11:00
parent bc6ec8a625
commit bc52858a67
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,7 @@
--- 9.10.2rc2 released ---
4061. [bug] Handle timeout in legacy system test. [RT #38573]
4060. [bug] dns_rdata_freestruct could be call on a uninitialised
structure when handling a error. [RT #38568]

View file

@ -159,7 +159,8 @@ then
echo "I:checking recursive lookup to edns 512 + no tcp + trust anchor fails ($n)"
ret=0
$DIG +tcp @10.53.0.1 -p 5300 edns512-notcp soa > dig.out.test$n || ret=1
grep "status: SERVFAIL" dig.out.test$n > /dev/null || ret=1
grep "status: SERVFAIL" dig.out.test$n > /dev/null ||
grep "connection timed out;" dig.out.test$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
else