mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
CVE-2016-0771: tests/dns: Correct error code for formerly unrun test
Both Samba and Windows returned NXRRSET BUG: https://bugzilla.samba.org/show_bug.cgi?id=11128 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11686 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
5b10cc25be
commit
bbda6b6eda
@ -411,7 +411,7 @@ class TestDNSUpdates(DNSTest):
|
||||
p.answers = prereqs
|
||||
|
||||
response = self.dns_transaction_udp(p)
|
||||
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_FORMERR)
|
||||
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_NXRRSET)
|
||||
|
||||
def test_update_prereq_nonexisting_name(self):
|
||||
"test update with a nonexisting name"
|
||||
|
Loading…
x
Reference in New Issue
Block a user