]> 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:14 +0000 (14:05 +1100)
(cherry picked from commit c6cd108838543042407b81fc865bbfc66dc6034b)

bin/tests/system/checkconf/tests.sh

index 9098714b7f363a82026461aab997476c65c818ec..f493c5ad4128cfff791b121c172a18f8a7db89aa 100644 (file)
@@ -357,6 +357,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`
 
@@ -378,6 +379,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`