[Updated] D12054: test-http-bad-server: modify some `tail` call fit their goal

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Jan 25 09:20:19 UTC 2022


Closed by commit rHG38028f3ef80c: test-http-bad-server: modify some `tail` call fit their goal (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D12054?vs=31878&id=31930

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12054/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D12054

AFFECTED FILES
  tests/test-http-bad-server.t

CHANGE DETAILS

diff --git a/tests/test-http-bad-server.t b/tests/test-http-bad-server.t
--- a/tests/test-http-bad-server.t
+++ b/tests/test-http-bad-server.t
@@ -574,13 +574,19 @@
   $ killdaemons.py $DAEMON_PIDS
 
 #if py36
-  $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -3
+  $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -6
+  sendall(162 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunke
+  write limit reached; closing socket
+  $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=getbundle': (glob)
   Traceback (most recent call last):
   Exception: connection closed after sending N bytes
   
 
 #else
-  $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -4
+  $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -7
+  write(41 from 41) -> (25) Content-Type: application/mercurial-0.2\r\n
+  write(25 from 28) -> (0) Transfer-Encoding: chunke
+  write limit reached; closing socket
   $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=getbundle': (glob)
   Traceback (most recent call last):
   Exception: connection closed after sending N bytes



To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220125/8f322cad/attachment-0002.html>


More information about the Mercurial-patches mailing list