[v9_10] globally rename "delve" to "delv"
3817. [func] The "delve" command is now spelled "delv" to avoid
a namespace collision with the Xapian project.
[RT #35801]
(cherry picked from commit 2ae159b376)
This commit is contained in:
@@ -26,7 +26,7 @@ n=1
|
||||
rm -f dig.out.*
|
||||
|
||||
DIGOPTS="+tcp +noadd +nosea +nostat +nocmd +dnssec -p 5300"
|
||||
DELVEOPTS="-a ns1/trusted.conf -p 5300"
|
||||
DELVOPTS="-a ns1/trusted.conf -p 5300"
|
||||
|
||||
# convert private-type records to readable form
|
||||
showprivate () {
|
||||
@@ -137,12 +137,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking postive validation NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.example > delve.out$n || ret=1
|
||||
grep "a.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
grep "a.example..*.RRSIG.A 3 2 300 .*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.example > delv.out$n || ret=1
|
||||
grep "a.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
grep "a.example..*.RRSIG.A 3 2 300 .*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -160,12 +160,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking positive validation NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.nsec3.example > delve.out$n || ret=1
|
||||
grep "a.nsec3.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
grep "a.nsec3.example..*RRSIG.A 7 3 300.*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.nsec3.example > delv.out$n || ret=1
|
||||
grep "a.nsec3.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
grep "a.nsec3.example..*RRSIG.A 7 3 300.*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -183,12 +183,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking positive validation OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.optout.example > delve.out$n || ret=1
|
||||
grep "a.optout.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
grep "a.optout.example..*RRSIG.A 7 3 300.*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.optout.example > delv.out$n || ret=1
|
||||
grep "a.optout.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
grep "a.optout.example..*RRSIG.A 7 3 300.*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -209,12 +209,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking positive wildcard validation NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.wild.example > delve.out$n || ret=1
|
||||
grep "a.wild.example..*10.0.0.27" delve.out$n > /dev/null || ret=1
|
||||
grep "a.wild.example..*RRSIG.A 3 2 300.*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.wild.example > delv.out$n || ret=1
|
||||
grep "a.wild.example..*10.0.0.27" delv.out$n > /dev/null || ret=1
|
||||
grep "a.wild.example..*RRSIG.A 3 2 300.*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -251,12 +251,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking positive wildcard validation NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.wild.nsec3.example > delve.out$n || ret=1
|
||||
grep "a.wild.nsec3.example..*10.0.0.6" delve.out$n > /dev/null || ret=1
|
||||
grep "a.wild.nsec3.example..*RRSIG.A 7 3 300.*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.wild.nsec3.example > delv.out$n || ret=1
|
||||
grep "a.wild.nsec3.example..*10.0.0.6" delv.out$n > /dev/null || ret=1
|
||||
grep "a.wild.nsec3.example..*RRSIG.A 7 3 300.*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -277,12 +277,12 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking positive wildcard validation OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.wild.optout.example > delve.out$n || ret=1
|
||||
grep "a.wild.optout.example..*10.0.0.6" delve.out$n > /dev/null || ret=1
|
||||
grep "a.wild.optout.example..*RRSIG.A 7 3 300.*" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.wild.optout.example > delv.out$n || ret=1
|
||||
grep "a.wild.optout.example..*10.0.0.6" delv.out$n > /dev/null || ret=1
|
||||
grep "a.wild.optout.example..*RRSIG.A 7 3 300.*" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -299,11 +299,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NXDOMAIN NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -322,11 +322,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NXDOMAIN NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.nsec3.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.nsec3.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -346,11 +346,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NXDOMAIN OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.optout.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.optout.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -368,11 +368,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NODATA OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt a.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt a.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -392,11 +392,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NODATA NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt a.nsec3.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt a.nsec3.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -416,11 +416,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative validation NODATA OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt a.optout.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt a.optout.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -437,11 +437,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative wildcard validation NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt b.wild.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt b.wild.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -457,11 +457,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative wildcard validation NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt b.wild.nsec3.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt b.wild.nsec3.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -481,11 +481,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking negative wildcard validation OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 txt b.optout.nsec3.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 txt b.optout.nsec3.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxrrset" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -505,11 +505,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server insecurity proof NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.insecure.example > delve.out$n || ret=1
|
||||
grep "a.insecure.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.insecure.example > delv.out$n || ret=1
|
||||
grep "a.insecure.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -527,11 +527,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server insecurity proof NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.insecure.nsec3.example > delve.out$n || ret=1
|
||||
grep "a.insecure.nsec3.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.insecure.nsec3.example > delv.out$n || ret=1
|
||||
grep "a.insecure.nsec3.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -549,11 +549,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server insecurity proof OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a a.insecure.optout.example > delve.out$n || ret=1
|
||||
grep "a.insecure.optout.example..*10.0.0.1" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a a.insecure.optout.example > delv.out$n || ret=1
|
||||
grep "a.insecure.optout.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -573,11 +573,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server negative insecurity proof NSEC using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.insecure.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.insecure.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -597,11 +597,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server negative insecurity proof NSEC3 using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.insecure.nsec3.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.insecure.nsec3.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -621,11 +621,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking 1-server negative insecurity proof OPTOUT using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS @10.53.0.4 a q.insecure.optout.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS @10.53.0.4 a q.insecure.optout.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: ncache nxdomain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -818,11 +818,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking failed validation using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS +cd @10.53.0.4 a a.bogus.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: RRSIG failed to verify" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS +cd @10.53.0.4 a a.bogus.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: RRSIG failed to verify" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
@@ -863,11 +863,11 @@ n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
if [ -x ${DELVE} ] ; then
|
||||
if [ -x ${DELV} ] ; then
|
||||
ret=0
|
||||
echo "I:checking that validation fails when key record is missing using dns_client ($n)"
|
||||
$DELVE $DELVEOPTS +cd @10.53.0.4 a a.b.keyless.example > delve.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: broken trust chain" delve.out$n > /dev/null || ret=1
|
||||
$DELV $DELVOPTS +cd @10.53.0.4 a a.b.keyless.example > delv.out$n 2>&1 || ret=1
|
||||
grep "resolution failed: broken trust chain" delv.out$n > /dev/null || ret=1
|
||||
n=`expr $n + 1`
|
||||
if [ $ret != 0 ]; then echo "I:failed"; fi
|
||||
status=`expr $status + $ret`
|
||||
|
||||
Reference in New Issue
Block a user