3942. [bug] Wildcard responses from a optout range should be

marked as insecure. [RT #37072]
This commit is contained in:
Mark Andrews
2014-09-04 13:57:50 +10:00
parent 8cd1082584
commit 99a3873ba5
4 changed files with 8 additions and 2 deletions

View File

@@ -271,7 +271,7 @@ $DIG $DIGOPTS a.wild.optout.example. \
stripns dig.out.ns3.test$n > dig.out.ns3.stripped.test$n
stripns dig.out.ns4.test$n > dig.out.ns4.stripped.test$n
$PERL ../digcomp.pl dig.out.ns3.stripped.test$n dig.out.ns4.stripped.test$n || ret=1
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null || ret=1
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi