]> 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:04:35 +0000 (14:04 +1100)
bin/tests/system/checkconf/tests.sh

index de63247e5f1acbca3a5d9374b1a9981b1cc60b8d..4cfaef0c57680ff9cc38b0bfcbafcc65e1487cf4 100644 (file)
@@ -314,6 +314,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`
 
@@ -335,6 +336,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`