diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-05 14:19:06 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-12-05 14:19:06 +0000 |
commit | adf703b6582dcb89a2592b3519fd2e5ed30682f3 (patch) | |
tree | 040fa970c67f8ffd3d9bcf164e3b3ea45c229700 /test/runtest | |
parent | 6e0fddef0de4966abad739bed65d49e097651853 (diff) |
Testsuite: munge for platform errno value variances (Hurd)
Diffstat (limited to 'test/runtest')
-rwxr-xr-x | test/runtest | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest index a8858b1cb..c6fd5ce54 100755 --- a/test/runtest +++ b/test/runtest @@ -1302,6 +1302,10 @@ RESET_AFTER_EXTRA_LINE_READ: # Platform differences in errno strings s/ SMTP\(Operation timed out\)<</ SMTP(Connection timed out)<</; + # Platform differences for errno values (eg. Hurd) + s/^errno = \d+$/errno = EEE/; + s/^writing error \d+: /writing error EEE: /; + # When Exim is checking the size of directories for maildir, it uses # the check_dir_size() function to scan directories. Of course, the order # of the files that are obtained using readdir() varies from system to @@ -1396,6 +1400,8 @@ RESET_AFTER_EXTRA_LINE_READ: s/(?:\[[^\]]*\]:|port )\K$parm_port_n/PORT_N/; s/I=\[[^\]]*\]:\K\d+/ppppp/; + # Platform differences for errno values (eg. Hurd). Leave 0 and negative numbers alone. + s/R=\w+ T=\w+ defer\K \([1-9]\d*\): / (EEE): /; } # ======== mail ======== |