mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 02:30:02 -04:00
Remove dig_with_opts
This commit is contained in:
parent
0e9a8da68c
commit
bb2c242c39
1 changed files with 3 additions and 3 deletions
|
|
@ -3348,8 +3348,8 @@ status=`expr $status + $ret`
|
|||
|
||||
echo_i "checking that unsupported DNSKEY algorithm validates as insecure ($n)"
|
||||
ret=0
|
||||
dig_with_opts +noauth +noadd +nodnssec +adflag @10.53.0.3 dnskey-unsupported.example A > dig.out.ns3.test$n
|
||||
dig_with_opts +noauth +noadd +nodnssec +adflag @10.53.0.4 dnskey-unsupported.example A > dig.out.ns4.test$n
|
||||
$DIG $DIGOPTS +noauth +noadd +nodnssec +adflag @10.53.0.3 dnskey-unsupported.example A > dig.out.ns3.test$n
|
||||
$DIG $DIGOPTS +noauth +noadd +nodnssec +adflag @10.53.0.4 dnskey-unsupported.example A > dig.out.ns4.test$n
|
||||
grep "status: NOERROR," dig.out.ns3.test$n > /dev/null || ret=1
|
||||
grep "status: NOERROR," dig.out.ns4.test$n > /dev/null || ret=1
|
||||
grep "flags:.*ad.*QUERY" dig.out.ns4.test$n > /dev/null && ret=1
|
||||
|
|
@ -3359,7 +3359,7 @@ status=$((status+ret))
|
|||
|
||||
echo_i "checking that unsupported DNSKEY algorithm is in DNSKEY RRset ($n)"
|
||||
ret=0
|
||||
dig_with_opts +noauth +noadd +nodnssec +adflag @10.53.0.3 dnskey-unsupported-2.example DNSKEY > dig.out.test$n
|
||||
$DIG $DIGOPTS +noauth +noadd +nodnssec +adflag @10.53.0.3 dnskey-unsupported-2.example DNSKEY > dig.out.test$n
|
||||
grep "status: NOERROR," dig.out.test$n > /dev/null || ret=1
|
||||
grep "dnskey-unsupported-2\.example\..*IN.*DNSKEY.*257 3 255" dig.out.test$n > /dev/null || ret=1
|
||||
n=$((n+1))
|
||||
|
|
|
|||
Loading…
Reference in a new issue