4681. [bug] Log messages from the validator now include the

associated view unless the view is "_default/IN"
                        or "_dnsclient/IN". [RT #45770]
This commit is contained in:
Mark Andrews
2017-08-16 09:29:20 +10:00
parent e85a2c5624
commit 52fd57c989
6 changed files with 47 additions and 5 deletions

View File

@@ -3320,5 +3320,12 @@ n=`expr $n + 1`
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
echo "I:check that the view is logged in messages from the validator when using views ($n)"
ret=0
grep "view rec: *validat" ns4/named.run > /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"
[ $status -eq 0 ] || exit 1