]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
check warning text
authorMark Andrews <marka@isc.org>
Fri, 9 Feb 2018 03:04:35 +0000 (14:04 +1100)
committerMark Andrews <marka@isc.org>
Fri, 9 Feb 2018 03:05:05 +0000 (14:05 +1100)
(cherry picked from commit c6cd108838543042407b81fc865bbfc66dc6034b)

bin/tests/system/checkconf/tests.sh

index c23cd1792cf6920fa717ebcdc708d0375c1f3968..3ff680d6e22540fce784dce6395361c9eaeeb0f8 100644 (file)
@@ -359,6 +359,7 @@ echo "I: check that the 2010 ICANN ROOT KSK without the 2017 ICANN ROOT KSK gene
 ret=0
 $CHECKCONF check-root-ksk-2010.conf > checkconf.out$n 2>/dev/null || ret=1
 [ -s checkconf.out$n ] || ret=1
+grep "trusted-key for root from 2010 without updated" checkconf.out$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo "I:failed"; ret=1; fi
 status=`expr $status + $ret`
 
@@ -380,6 +381,7 @@ echo "I: check that the dlv.isc.org KSK generates a warning ($n)"
 ret=0
 $CHECKCONF check-dlv-ksk-key.conf > checkconf.out$n 2>/dev/null || ret=1
 [ -s checkconf.out$n ] || ret=1
+grep "trusted-key for dlv.isc.org still present" checkconf.out$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo "I:failed"; ret=1; fi
 status=`expr $status + $ret`