3628. [func] Report DNSKEY key id's when dumping the cache.

[RT #34533]
This commit is contained in:
Mark Andrews
2013-08-12 14:38:26 +10:00
parent e8e87ede5c
commit 16bd30ae69
3 changed files with 13 additions and 0 deletions

View File

@@ -2273,5 +2273,14 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:check that key id are logged when dumping the cache ($n)"
ret=0
$RNDC -c ../common/rndc.conf -s 10.53.0.4 -p 9953 dumpdb 2>&1 | sed 's/^/I:ns1 /'
sleep 1
grep "; key id = " ns4/named_dump.db > /dev/null || ret=1
n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:exit status: $status"
exit $status