3589. [func] Report serial numbers in when starting zone transfers.

Report accepted NOTIFY requests including serial.
                        [RT# 33037]
This commit is contained in:
Mark Andrews
2013-06-08 09:49:03 +10:00
parent bf0441a339
commit c6eb92beb1
4 changed files with 50 additions and 11 deletions

View File

@@ -62,6 +62,13 @@ cp -f ns2/example2.db ns2/example.db
kill -HUP `cat ns2/named.pid`
sleep 45
n=`expr $n + 1`
echo "I:checking notify message was logged ($n)"
ret=0
grep 'notify from 10.53.0.2#[0-9][0-9]*: serial 2$' ns3/named.run > /dev/null || ret=1
[ $ret = 0 ] || echo "I:failed"
status=`expr $ret + $status`
n=`expr $n + 1`
echo "I:checking example2 loaded ($n)"
ret=0
@@ -98,6 +105,13 @@ $PERL $SYSTEMTESTTOP/start.pl --noclean --restart . ns2
sleep 45
n=`expr $n + 1`
echo "I:checking notify message was logged ($n)"
ret=0
grep 'notify from 10.53.0.2#[0-9][0-9]*: serial 4$' ns3/named.run > /dev/null || ret=1
[ $ret = 0 ] || echo "I:failed"
status=`expr $ret + $status`
n=`expr $n + 1`
echo "I:checking example4 loaded ($n)"
ret=0