Testsuite: munge for platform variances
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 13 Apr 2020 12:17:51 +0000 (13:17 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 13 Apr 2020 12:17:51 +0000 (13:17 +0100)
test/runtest

index 6ada78b25c8482eaa19c5ce25466f94f4327edd4..f90249fb8b1e55ebe20e94de952af084880389a8 100755 (executable)
@@ -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/;