[exim-cvs] Testsuite: munge for platform variances

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: munge for platform variances
Gitweb: https://git.exim.org/exim.git/commitdiff/6a72548d36fb6697c5748cb944dfdcbfeb31ad76
Commit:     6a72548d36fb6697c5748cb944dfdcbfeb31ad76
Parent:     f82c06aac7959d473020a68bb24a74690a1ac5ef
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Mon Apr 13 13:17:51 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Mon Apr 13 13:17:51 2020 +0100


    Testsuite: munge for platform variances
---
 test/runtest | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)


diff --git a/test/runtest b/test/runtest
index 6ada78b..f90249f 100755
--- a/test/runtest
+++ b/test/runtest
@@ -827,11 +827,10 @@ RESET_AFTER_EXTRA_LINE_READ:

# ======== IP error numbers and messages ========
# These vary between operating systems
- s/Can't assign requested address/Network Error/;
- s/Cannot assign requested address/Network Error/;
+ s/Can(no|')t assign requested address/Network Error/;
s/Operation timed out/Connection timed out/;
s/Address family not supported by protocol family/Network Error/;
- s/Network is unreachable/Network Error/;
+ s/Network( is)? unreachable/Network Error/;
s/Invalid argument/Network Error/;

s/\(\d+\): Network/(dd): Network/;