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

bin/tests/system/checkconf/tests.sh

index e090b03955c27a8300a6168584d14a1346079028..c7d4867a1a15d539f840356df02538d4162bb39b 100644 (file)
@@ -367,6 +367,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`
 
@@ -388,6 +389,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`