# HG changeset patch # User Pierre-Yves David # Date 1642727233 -3600 # Node ID f87b632406a9ce7c8cbaa80160d5fca7d17aaaa8 # Parent 89485747b8f73df211cd51a7b5fdb7d6652f6f06 test-http-bad-server: align output by using `;` This is the only message using a `,` instead of `;` and that seems unintentional. I am unifying the message before unigying the code. Differential Revision: https://phab.mercurial-scm.org/D12039 diff -r 89485747b8f7 -r f87b632406a9 tests/test-http-bad-server.t --- a/tests/test-http-bad-server.t Wed Jan 19 19:04:55 2022 +0100 +++ b/tests/test-http-bad-server.t Fri Jan 21 02:07:13 2022 +0100 @@ -266,7 +266,7 @@ readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob) readline(* from *) -> (2) \r\n (glob) read(* from 28) -> (*) cmds=* (glob) - read limit reached, closing socket + read limit reached; closing socket $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=batch': (glob) Traceback (most recent call last): Exception: connection closed after receiving N bytes diff -r 89485747b8f7 -r f87b632406a9 tests/testlib/badserverext.py --- a/tests/testlib/badserverext.py Wed Jan 19 19:04:55 2022 +0100 +++ b/tests/testlib/badserverext.py Fri Jan 21 02:07:13 2022 +0100 @@ -230,7 +230,7 @@ object.__setattr__(self, '_closeafterrecvbytes', remaining) if remaining <= 0: - self._writelog(b'read limit reached, closing socket') + self._writelog(b'read limit reached; closing socket') self._close() # This is the easiest way to abort the current request.