[exim-cvs] Testsuite: platform differences for resolver flag…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: platform differences for resolver flags bits
Gitweb: https://git.exim.org/exim.git/commitdiff/d05b1259568b40a1890f4067edcb1ed07794646c
Commit:     d05b1259568b40a1890f4067edcb1ed07794646c
Parent:     f3a6b42d32978a63bceba5cf27455b6b8cef24f5
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Sep 2 12:33:29 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Sep 2 12:33:29 2019 +0100


    Testsuite: platform differences for resolver flags bits
---
 test/runtest     | 2 +-
 test/stderr/0183 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/test/runtest b/test/runtest
index 1ef31c3..b369d59 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1159,7 +1159,7 @@ RESET_AFTER_EXTRA_LINE_READ:
     s/Operation timed out/Connection timed out/;


     # Platform-dependent resolver option bits
-    s/^ writing 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/;


     # Skip hosts_require_dane checks when the options
     # are unset, because dane ain't always there.
diff --git a/test/stderr/0183 b/test/stderr/0183
index a199e58..e9a91f4 100644
--- a/test/stderr/0183
+++ b/test/stderr/0183
@@ -742,7 +742,7 @@ DNS lookup of nonexist.example.com-MX: cached value DNS_NOMATCH past valid time
 DNS lookup of nonexist.example.com (MX) using fakens
 DNS lookup of nonexist.example.com (MX) gave HOST_NOT_FOUND
 returning DNS_NOMATCH
- update neg-cache entry for nonexist.example.com-MX-c1, ttl 2
+ update neg-cache entry for nonexist.example.com-MX-xxxx, ttl 2
 delay router declined for userd@???
 "more" is false: skipping remaining routers
 no more routers