CVE-2016-0771: tests/dns: Correct error code for formerly unrun test
[samba.git] / python / samba / tests / dns.py
index e6f502913f4a31f4658df74fdd4b44bfc3c5fea0..0f716a3d8f085fa2f38bce9129d84bdd81a008ed 100644 (file)
@@ -387,7 +387,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"