[master] add regression test for RT #41518

4297.	[test]		Ensure delegations in RPZ zones fail robustly.
			[RT #41518]
This commit is contained in:
Evan Hunt
2016-01-20 17:39:53 -08:00
parent d40154cab7
commit 9b789c54f8
3 changed files with 9 additions and 4 deletions

View File

@@ -642,5 +642,9 @@ $RNDCCMD $ns7 reload policy2
$DIG z.x.servfail -p 5300 @$ns7 > dig.out.ns7
grep NXDOMAIN dig.out.ns7 > /dev/null || setret I:failed;
echo "I:checking rpz with delegation fails correctly"
$DIG -p 5300 @$ns3 ns example.com > dig.out.delegation
grep "status: SERVFAIL" dig.out.delegation > /dev/null || setret "I:failed"
echo "I:exit status: $status"
exit $status