Testsuite: unify the fs dependend error messages
[exim.git] / test / runtest
index 9d78ce9763162b74effbd9910a2702aabb12029c..6c98a702ce1bf4074457236437f0b36337ee3c65 100755 (executable)
@@ -704,6 +704,9 @@ RESET_AFTER_EXTRA_LINE_READ:
   # ======== Other error numbers ========
   s/errno=\d+/errno=dd/g;
 
+  # ======== System Error Messages ======
+  # depending on the underlaying file system the error message seems to differ
+  s/(?: is not a regular file)|(?: has too many links \(\d+\))/ not a regular file or too many links/;
 
   # ======== Output from ls ========
   # Different operating systems use different spacing on long output