X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3bfdf0f1f1d7a1bb6e9c3e4c6af8d1117dd13955..0693531c37d7d6bfdf731c5e77effba50261fdc9:/test/runtest diff --git a/test/runtest b/test/runtest index 6fa17f9dc..f34e3c922 100755 --- a/test/runtest +++ b/test/runtest @@ -794,7 +794,7 @@ RESET_AFTER_EXTRA_LINE_READ: } # Port in host address in spool file output from -Mvh - s/^(--?host_address) (.*)\.\d+/$1 $2.9999/; + s/^(--?host_address) (.*[:.])\d+$/$1 ${2}9999/; if ($dynamic_socket and $dynamic_socket->opened and my $port = $dynamic_socket->sockport) { s/^Connecting to 127\.0\.0\.1 port \K$port//;