]>
Commit | Line | Data |
---|---|---|
d4886eb4 | 1 | #!/bin/sh |
eb73d9ad | 2 | if [ ! -f ${testsdir}/${testname}/use.drill ] |
b5baefaf | 3 | then |
0fabce54 | 4 | ../pdns/sdig $nameserver $port $1 $2 $3 | LC_ALL=C sort |
b5baefaf | 5 | fi |
eb73d9ad PD |
6 | ../pdns/nsec3dig $nameserver $port $1 $2 > ${testsdir}/${testname}/nsec3dig.out 2>&1 |
7 | drill -a -p $port -o rd -D -S -k trustedkeys $1 $2 @$nameserver > ${testsdir}/${testname}/drillchase.out 2>&1 | |
8 | echo RETVAL: $? >> ${testsdir}/${testname}/drillchase.out | |
9 | drill -a -p $port -o rd -D -k trustedkeys $1 $2 @$nameserver > ${testsdir}/${testname}/drill.out 2>&1 | |
10 | echo RETVAL: $? >> ${testsdir}/${testname}/drill.out | |
11 | /usr/lib/go/bin/q -tcp=true -short=true -rd=false -check -dnssec -port=$port @$nameserver $2 $1 > ${testsdir}/${testname}/q.out 2>&1 | |
12 | echo RETVAL: $? >> ${testsdir}/${testname}/q.out | |
13 | if [ ! -e ${testsdir}/${testname}/skip-unboundhost ] | |
b9147125 | 14 | then |
d995f007 | 15 | unbound-host -v -C unbound-host.conf -t $2 $1 > ${testsdir}/${testname}/unbound-host.out 2>&1 |
eb73d9ad | 16 | echo RETVAL: $? >> ${testsdir}/${testname}/unbound-host.out |
4f357152 | 17 | fi |
eb73d9ad | 18 | if [ -f ${testsdir}/${testname}/use.drill ] |
b5baefaf | 19 | then |
eb73d9ad | 20 | cat ${testsdir}/${testname}/drill.out |
b5baefaf | 21 | fi |
e1867286 | 22 | grep -iw bogus ${testsdir}/${testname}/*.out |