git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testsuite: account for 4-component version numbers
[users/jgh/exim.git]
/
test
/
runtest
diff --git
a/test/runtest
b/test/runtest
index d678abda6cdc93fef7bcbddebce5af1af53fa998..3c16a1e465a5e13a14deebee59d90d81315dd850 100755
(executable)
--- a/
test/runtest
+++ b/
test/runtest
@@
-943,9
+943,7
@@
RESET_AFTER_EXTRA_LINE_READ:
# at least we'll still be checking the number of open fd's.
s/max fd = \d+/max fd = dddd/;
# at least we'll still be checking the number of open fd's.
s/max fd = \d+/max fd = dddd/;
- s/status=0 RDONLY/STATUS/g;
- s/status=1 WRONLY/STATUS/g;
- s/status=2 RDWR/STATUS/g;
+ s/status=[0-9a-f]+ (?:RDONLY|WRONLY|RDWR)/STATUS/g;
# ======== Contents of spool files ========
# ======== Contents of spool files ========
@@
-1830,7
+1828,7
@@
$munges =
},
'timeout_errno' => # actual errno differs Solaris vs. Linux
},
'timeout_errno' => # actual errno differs Solaris vs. Linux
- { 'mainlog' => 's/(
host
deferral .* errno) <\d+> /$1 <EEE> /' },
+ { 'mainlog' => 's/(
(?:host|message)
deferral .* errno) <\d+> /$1 <EEE> /' },
'peer_terminated_conn' => # actual error differs FreedBSD vs. Linux
{ 'stderr' => 's/^( SMTP\()Connection reset by peer(\)<<)$/$1closed$2/' },
'peer_terminated_conn' => # actual error differs FreedBSD vs. Linux
{ 'stderr' => 's/^( SMTP\()Connection reset by peer(\)<<)$/$1closed$2/' },