Testsuite: munge for dns neg-cache
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 11 May 2024 15:25:32 +0000 (16:25 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 11 May 2024 21:11:39 +0000 (22:11 +0100)
test/runtest
test/stderr/2202
test/stderr/5840

index 0103df7d54bc93520b399f301a86c19e0a447118..9e25a200f865b44f65daf6d1e168fb4a4700f444 100755 (executable)
@@ -1384,7 +1384,7 @@ RESET_AFTER_EXTRA_LINE_READ:
     s/unexpected disconnection while reading SMTP command from \[127.0.0.1\] \K\(error: Connection reset by peer\) //;
 
     # Platform-dependent resolver option bits
-    s/^ *(?:writing|update) neg-cache entry for [^,]+-\K[0-9a-f]+, ttl/xxxx, ttl/;
+    s/(?:writing|update) neg-cache entry for [^,]+-\K[0-9a-f]+, ttl/xxxx, ttl/;
 
     # timing variance, run-to-run
     s/^time on queue = \K1s/0s/;
index 8472e8086cfbc093d938224410f27444e38bb637..55f935040a4e18a45f4bbef172c560dc72d26b13 100644 (file)
@@ -161,14 +161,14 @@ LOG: MAIN PANIC
   dns_again_means_nonexist recursion seen for test.again.dns (assuming nonexist)
    ╎   ╎DNS: couldn't fake dnsa len
    ╎   ╎DNS: no SOA record found for neg-TTL
-   ╎   ╎ writing neg-cache entry for test.again.dns-MX-4100041, ttl -1
+   ╎   ╎ writing neg-cache entry for test.again.dns-MX-xxxx, ttl -1
    ╎   test.again.dns in "@mx_any"? no (end of list)
    ╎  end sublist try_again_dns_list
    ╎test.again.dns in dns_again_means_nonexist? yes (end of list)
    ╎test.again.dns is in dns_again_means_nonexist: returning DNS_NOMATCH
    ╎DNS: couldn't fake dnsa len
    ╎DNS: no SOA record found for neg-TTL
-   ╎ update neg-cache entry for test.again.dns-MX-4100041, ttl -1
+   ╎ update neg-cache entry for test.again.dns-MX-xxxx, ttl -1
    test.again.dns in "@mx_any"? no (end of list)
   end sublist try_again_dns_list
 test.again.dns in "+try_again_dns_list"? no (end of list)
index 0b41d07ea59b12ff5245067013b5506accf598d8..8da93ab49fa189160bf23f36114585fc9e26ca12 100644 (file)
 >>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 >>> routing rcptuser@dane256ee.test.ex
 >>> calling client router
->>> check dnssec require list
->>>  dane256ee.test.ex in dnssec_require_domains? no (option unset)
->>> check dnssec request list
->>>  dane256ee.test.ex in dnssec_request_domains?
->>>   list element: *
->>>   dane256ee.test.ex in dnssec_request_domains? yes (matched "*")
+>>>  check dnssec require list
+>>>   dane256ee.test.ex in dnssec_require_domains? no (option unset)
+>>>  check dnssec request list
+>>>   dane256ee.test.ex in dnssec_request_domains?
+>>>    list element: *
+>>>    dane256ee.test.ex in dnssec_request_domains? yes (matched "*")
 >>> local host found for non-MX address
 >>> routed by client router
 >>> Attempting full verification using callout