From f7598860019d4a0867ca37688461e16927cd7928 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 28 May 2019 23:38:34 +0100 Subject: [PATCH] Testsuite: platform variances --- test/runtest | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 . " ... " . ; s/^(.* \.\.\.) [0-9: ]*connected$/$1 connected/; -- 2.25.1