3589. [func] Report serial numbers in when starting zone transfers.
Report accepted NOTIFY requests including serial.
[RT# 33037]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user