summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-05-28 23:38:34 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-05-28 23:38:34 +0100
commitf7598860019d4a0867ca37688461e16927cd7928 (patch)
treee44b5e16d343c7be32e2c45c60cc78380dc83f6e
parent766ac2f4801188c0762f49a24f159587abd24119 (diff)
Testsuite: platform variances
-rwxr-xr-xtest/runtest7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/runtest b/test/runtest
index f565a5e55..1b6eaabb0 100755
--- a/test/runtest
+++ b/test/runtest
@@ -1218,7 +1218,12 @@ RESET_AFTER_EXTRA_LINE_READ:
next if /^(ppppp )?setsockopt FASTOPEN: Protocol not available$/;
s/^(Connecting to .* \.\.\. sending) \d+ (nonTFO early-data)$/$1 dd $2/;
- if (/^([0-9: ]*Connecting to [^ ]+ [^ ]+( from [^ ]+)?) \.\.\. .*TFO mode sendto, no data: EINPROGRESS$/)
+ if (/^([0-9: ]* # possible timestamp
+ Connecting\ to\ [^ ]+\ [^ ]+(\ from\ [^ ]+)?)\ \.\.\.
+ \ .*TFO\ mode\
+ (sendto,\ no\ data:\ EINPROGRESS # Linux
+ |connection\ attempt\ to\ [^,]+,\ 0\ data) # MacOS
+ $/x)
{
$_ = $1 . " ... " . <IN>;
s/^(.* \.\.\.) [0-9: ]*connected$/$1 connected/;