##// END OF EJS Templates
tests: conditionalize test-http-bad-server.t for Python 3.5...
Gregory Szorc -
r41608:1016b81f default
parent child Browse files
Show More
@@ -296,6 +296,7 b' test-histedit-outgoing.t'
296 test-histedit-templates.t
296 test-histedit-templates.t
297 test-http-api-httpv2.t
297 test-http-api-httpv2.t
298 test-http-api.t
298 test-http-api.t
299 test-http-bad-server.t
299 test-http-branchmap.t
300 test-http-branchmap.t
300 test-http-bundle1.t
301 test-http-bundle1.t
301 test-http-clone-r.t
302 test-http-clone-r.t
@@ -116,8 +116,10 b' Failure on subsequent HTTP request on th'
116 readline(115 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
116 readline(115 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
117 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
117 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
118 readline(* from *) -> (2) \r\n (glob)
118 readline(* from *) -> (2) \r\n (glob)
119 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
119 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
120 sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
120 sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
121 write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
122 write(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
121 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
123 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
122 write(23) -> Server: badhttpserver\r\n (no-py3 !)
124 write(23) -> Server: badhttpserver\r\n (no-py3 !)
123 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
125 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -159,8 +161,10 b' Failure to read getbundle HTTP request'
159 readline(213 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
161 readline(213 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
160 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
162 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
161 readline(* from *) -> (2) \r\n (glob)
163 readline(* from *) -> (2) \r\n (glob)
162 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
164 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
163 sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
165 sendall(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
166 write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
167 write(450) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
164 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
168 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
165 write(23) -> Server: badhttpserver\r\n (no-py3 !)
169 write(23) -> Server: badhttpserver\r\n (no-py3 !)
166 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
170 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -183,8 +187,10 b' Failure to read getbundle HTTP request'
183 readline(98 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
187 readline(98 from *) -> (*) host: localhost:$HGPORT\r\n (glob)
184 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
188 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
185 readline(* from *) -> (2) \r\n (glob)
189 readline(* from *) -> (2) \r\n (glob)
186 sendall(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !)
190 sendall(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !)
187 sendall(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !)
191 sendall(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !)
192 write(159) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !)
193 write(42) -> 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !)
188 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
194 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
189 write(23) -> Server: badhttpserver\r\n (no-py3 !)
195 write(23) -> Server: badhttpserver\r\n (no-py3 !)
190 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
196 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -220,8 +226,10 b' Now do a variation using POST to send ar'
220 readline(234 from *) -> (2?) host: localhost:$HGPORT\r\n (glob)
226 readline(234 from *) -> (2?) host: localhost:$HGPORT\r\n (glob)
221 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
227 readline(* from *) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
222 readline(* from *) -> (2) \r\n (glob)
228 readline(* from *) -> (2) \r\n (glob)
223 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py3 !)
229 sendall(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py36 !)
224 sendall(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
230 sendall(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
231 write(160) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 463\r\n\r\n (py3 no-py36 !)
232 write(463) -> batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx httppostargs known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
225 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
233 write(36) -> HTTP/1.1 200 Script output follows\r\n (no-py3 !)
226 write(23) -> Server: badhttpserver\r\n (no-py3 !)
234 write(23) -> Server: badhttpserver\r\n (no-py3 !)
227 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
235 write(37) -> Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -253,6 +261,7 b' Now do a variation using POST to send ar'
253 Traceback (most recent call last):
261 Traceback (most recent call last):
254 Exception: connection closed after receiving N bytes
262 Exception: connection closed after receiving N bytes
255
263
264 write(126) -> HTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
256 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
265 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
257
266
258 $ rm -f error.log
267 $ rm -f error.log
@@ -277,13 +286,15 b' Server sends a single character from the'
277 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
286 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
278 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
287 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
279 readline(*) -> (2) \r\n (glob)
288 readline(*) -> (2) \r\n (glob)
280 sendall(1 from 160) -> (0) H (py3 !)
289 sendall(1 from 160) -> (0) H (py36 !)
290 write(1 from 160) -> (0) H (py3 no-py36 !)
281 write(1 from 36) -> (0) H (no-py3 !)
291 write(1 from 36) -> (0) H (no-py3 !)
282 write limit reached; closing socket
292 write limit reached; closing socket
283 $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
293 $LOCALIP - - [$ERRDATE$] Exception happened during processing request '/?cmd=capabilities': (glob)
284 Traceback (most recent call last):
294 Traceback (most recent call last):
285 Exception: connection closed after sending N bytes
295 Exception: connection closed after sending N bytes
286
296
297 write(286) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
287 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
298 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
288
299
289 $ rm -f error.log
300 $ rm -f error.log
@@ -307,8 +318,10 b' Server sends an incomplete capabilities '
307 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
318 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
308 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
319 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
309 readline(*) -> (2) \r\n (glob)
320 readline(*) -> (2) \r\n (glob)
310 sendall(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
321 sendall(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
311 sendall(20 from 450) -> (0) batch branchmap bund (py3 !)
322 sendall(20 from 450) -> (0) batch branchmap bund (py36 !)
323 write(160 from 160) -> (20) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
324 write(20 from 450) -> (0) batch branchmap bund (py3 no-py36 !)
312 write(36 from 36) -> (144) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
325 write(36 from 36) -> (144) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
313 write(23 from 23) -> (121) Server: badhttpserver\r\n (no-py3 !)
326 write(23 from 23) -> (121) Server: badhttpserver\r\n (no-py3 !)
314 write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n (no-py3 !)
327 write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -348,8 +361,10 b' TODO this output is horrible'
348 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
361 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
349 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
362 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
350 readline(*) -> (2) \r\n (glob)
363 readline(*) -> (2) \r\n (glob)
351 sendall(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
364 sendall(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
352 sendall(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
365 sendall(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
366 write(160 from 160) -> (568) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
367 write(450 from 450) -> (118) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
353 write(36 from 36) -> (692) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
368 write(36 from 36) -> (692) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
354 write(23 from 23) -> (669) Server: badhttpserver\r\n (no-py3 !)
369 write(23 from 23) -> (669) Server: badhttpserver\r\n (no-py3 !)
355 write(37 from 37) -> (632) Date: $HTTP_DATE$\r\n (no-py3 !)
370 write(37 from 37) -> (632) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -366,7 +381,8 b' TODO this output is horrible'
366 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
381 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
367 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
382 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
368 readline(*) -> (2) \r\n (glob)
383 readline(*) -> (2) \r\n (glob)
369 sendall(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py3 !)
384 sendall(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py36 !)
385 write(118 from 159) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: applicat (py3 no-py36 !)
370 write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
386 write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
371 write(23 from 23) -> (59) Server: badhttpserver\r\n (no-py3 !)
387 write(23 from 23) -> (59) Server: badhttpserver\r\n (no-py3 !)
372 write(37 from 37) -> (22) Date: $HTTP_DATE$\r\n (no-py3 !)
388 write(37 from 37) -> (22) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -376,6 +392,7 b' TODO this output is horrible'
376 Traceback (most recent call last):
392 Traceback (most recent call last):
377 Exception: connection closed after sending N bytes
393 Exception: connection closed after sending N bytes
378
394
395 write(285) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
379 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
396 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
380
397
381 $ rm -f error.log
398 $ rm -f error.log
@@ -403,8 +420,10 b' TODO client spews a stack due to uncaugh'
403 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
420 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
404 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
421 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
405 readline(*) -> (2) \r\n (glob)
422 readline(*) -> (2) \r\n (glob)
406 sendall(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
423 sendall(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
407 sendall(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
424 sendall(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
425 write(160 from 160) -> (633) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
426 write(450 from 450) -> (183) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
408 write(36 from 36) -> (757) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
427 write(36 from 36) -> (757) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
409 write(23 from 23) -> (734) Server: badhttpserver\r\n (no-py3 !)
428 write(23 from 23) -> (734) Server: badhttpserver\r\n (no-py3 !)
410 write(37 from 37) -> (697) Date: $HTTP_DATE$\r\n (no-py3 !)
429 write(37 from 37) -> (697) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -421,8 +440,10 b' TODO client spews a stack due to uncaugh'
421 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
440 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
422 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
441 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
423 readline(*) -> (2) \r\n (glob)
442 readline(*) -> (2) \r\n (glob)
424 sendall(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !)
443 sendall(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !)
425 sendall(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py3 !)
444 sendall(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py36 !)
445 write(159 from 159) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !)
446 write(24 from 42) -> (0) 96ee1d7354c4ad7372047672 (py3 no-py36 !)
426 write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
447 write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
427 write(23 from 23) -> (124) Server: badhttpserver\r\n (no-py3 !)
448 write(23 from 23) -> (124) Server: badhttpserver\r\n (no-py3 !)
428 write(37 from 37) -> (87) Date: $HTTP_DATE$\r\n (no-py3 !)
449 write(37 from 37) -> (87) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -463,8 +484,10 b' TODO this output is terrible'
463 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
484 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
464 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
485 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
465 readline(*) -> (2) \r\n (glob)
486 readline(*) -> (2) \r\n (glob)
466 sendall(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
487 sendall(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
467 sendall(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
488 sendall(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
489 write(160 from 160) -> (780) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
490 write(450 from 450) -> (330) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
468 write(36 from 36) -> (904) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
491 write(36 from 36) -> (904) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
469 write(23 from 23) -> (881) Server: badhttpserver\r\n (no-py3 !)
492 write(23 from 23) -> (881) Server: badhttpserver\r\n (no-py3 !)
470 write(37 from 37) -> (844) Date: $HTTP_DATE$\r\n (no-py3 !)
493 write(37 from 37) -> (844) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -481,8 +504,10 b' TODO this output is terrible'
481 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
504 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
482 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
505 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
483 readline(*) -> (2) \r\n (glob)
506 readline(*) -> (2) \r\n (glob)
484 sendall(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !)
507 sendall(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !)
485 sendall(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !)
508 sendall(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !)
509 write(159 from 159) -> (171) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !)
510 write(42 from 42) -> (129) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !)
486 write(36 from 36) -> (294) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
511 write(36 from 36) -> (294) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
487 write(23 from 23) -> (271) Server: badhttpserver\r\n (no-py3 !)
512 write(23 from 23) -> (271) Server: badhttpserver\r\n (no-py3 !)
488 write(37 from 37) -> (234) Date: $HTTP_DATE$\r\n (no-py3 !)
513 write(37 from 37) -> (234) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -499,7 +524,8 b' TODO this output is terrible'
499 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
524 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
500 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
525 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
501 readline(*) -> (2) \r\n (glob)
526 readline(*) -> (2) \r\n (glob)
502 sendall(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py3 !)
527 sendall(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py36 !)
528 write(129 from 167) -> (0) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercuri (py3 no-py36 !)
503 write(36 from 36) -> (93) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
529 write(36 from 36) -> (93) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
504 write(23 from 23) -> (70) Server: badhttpserver\r\n (no-py3 !)
530 write(23 from 23) -> (70) Server: badhttpserver\r\n (no-py3 !)
505 write(37 from 37) -> (33) Date: $HTTP_DATE$\r\n (no-py3 !)
531 write(37 from 37) -> (33) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -509,6 +535,7 b' TODO this output is terrible'
509 Traceback (most recent call last):
535 Traceback (most recent call last):
510 Exception: connection closed after sending N bytes
536 Exception: connection closed after sending N bytes
511
537
538 write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
512 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
539 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
513
540
514 $ rm -f error.log
541 $ rm -f error.log
@@ -525,7 +552,7 b' Server stops before it sends transfer en'
525
552
526 $ killdaemons.py $DAEMON_PIDS
553 $ killdaemons.py $DAEMON_PIDS
527
554
528 #if py3
555 #if py36
529 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -3
556 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -3
530 Traceback (most recent call last):
557 Traceback (most recent call last):
531 Exception: connection closed after sending N bytes
558 Exception: connection closed after sending N bytes
@@ -536,7 +563,8 b' Server stops before it sends transfer en'
536 Traceback (most recent call last):
563 Traceback (most recent call last):
537 Exception: connection closed after sending N bytes
564 Exception: connection closed after sending N bytes
538
565
539 write(36) -> HTTP/1.1 500 Internal Server Error\r\n
566 write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
567 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
540 #endif
568 #endif
541
569
542 $ rm -f error.log
570 $ rm -f error.log
@@ -561,8 +589,10 b' Server sends empty HTTP body for getbund'
561 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
589 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
562 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
590 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
563 readline(*) -> (2) \r\n (glob)
591 readline(*) -> (2) \r\n (glob)
564 sendall(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
592 sendall(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
565 sendall(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
593 sendall(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
594 write(160 from 160) -> (818) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
595 write(450 from 450) -> (368) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
566 write(36 from 36) -> (942) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
596 write(36 from 36) -> (942) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
567 write(23 from 23) -> (919) Server: badhttpserver\r\n (no-py3 !)
597 write(23 from 23) -> (919) Server: badhttpserver\r\n (no-py3 !)
568 write(37 from 37) -> (882) Date: $HTTP_DATE$\r\n (no-py3 !)
598 write(37 from 37) -> (882) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -579,8 +609,10 b' Server sends empty HTTP body for getbund'
579 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
609 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
580 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
610 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
581 readline(*) -> (2) \r\n (glob)
611 readline(*) -> (2) \r\n (glob)
582 sendall(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !)
612 sendall(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !)
583 sendall(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !)
613 sendall(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !)
614 write(159 from 159) -> (209) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !)
615 write(42 from 42) -> (167) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 no-py36 !)
584 write(36 from 36) -> (332) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
616 write(36 from 36) -> (332) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
585 write(23 from 23) -> (309) Server: badhttpserver\r\n (no-py3 !)
617 write(23 from 23) -> (309) Server: badhttpserver\r\n (no-py3 !)
586 write(37 from 37) -> (272) Date: $HTTP_DATE$\r\n (no-py3 !)
618 write(37 from 37) -> (272) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -597,7 +629,8 b' Server sends empty HTTP body for getbund'
597 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
629 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
598 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
630 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
599 readline(*) -> (2) \r\n (glob)
631 readline(*) -> (2) \r\n (glob)
600 sendall(167 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: chunked\r\n\r\n (py3 !)
632 sendall(167 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: chunked\r\n\r\n (py36 !)
633 write(167 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: chunked\r\n\r\n (py3 no-py36 !)
601 write(36 from 36) -> (131) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
634 write(36 from 36) -> (131) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
602 write(23 from 23) -> (108) Server: badhttpserver\r\n (no-py3 !)
635 write(23 from 23) -> (108) Server: badhttpserver\r\n (no-py3 !)
603 write(37 from 37) -> (71) Date: $HTTP_DATE$\r\n (no-py3 !)
636 write(37 from 37) -> (71) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -609,6 +642,7 b' Server sends empty HTTP body for getbund'
609 Traceback (most recent call last):
642 Traceback (most recent call last):
610 Exception: connection closed after sending N bytes
643 Exception: connection closed after sending N bytes
611
644
645 write(293) -> HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
612 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
646 write(36) -> HTTP/1.1 500 Internal Server Error\r\n (no-py3 !)
613
647
614 $ rm -f error.log
648 $ rm -f error.log
@@ -633,8 +667,10 b' Server sends partial compression string'
633 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
667 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
634 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
668 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
635 readline(*) -> (2) \r\n (glob)
669 readline(*) -> (2) \r\n (glob)
636 sendall(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 !)
670 sendall(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py36 !)
637 sendall(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 !)
671 sendall(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py36 !)
672 write(160 from 160) -> (842) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 450\r\n\r\n (py3 no-py36 !)
673 write(450 from 450) -> (392) batch branchmap $USUAL_BUNDLE2_CAPS_NO_PHASES$ changegroupsubset compression=none getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (py3 no-py36 !)
638 write(36 from 36) -> (966) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
674 write(36 from 36) -> (966) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
639 write(23 from 23) -> (943) Server: badhttpserver\r\n (no-py3 !)
675 write(23 from 23) -> (943) Server: badhttpserver\r\n (no-py3 !)
640 write(37 from 37) -> (906) Date: $HTTP_DATE$\r\n (no-py3 !)
676 write(37 from 37) -> (906) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -651,8 +687,9 b' Server sends partial compression string'
651 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
687 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
652 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
688 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
653 readline(*) -> (2) \r\n (glob)
689 readline(*) -> (2) \r\n (glob)
654 sendall(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 !)
690 sendall(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py36 !)
655 sendall(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py3 !)
691 sendall(42 from 42) -> (191) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; (py36 !)
692 write(159 from 159) -> (233) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.1\r\nContent-Length: 42\r\n\r\n (py3 no-py36 !)
656 write(36 from 36) -> (356) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
693 write(36 from 36) -> (356) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
657 write(23 from 23) -> (333) Server: badhttpserver\r\n (no-py3 !)
694 write(23 from 23) -> (333) Server: badhttpserver\r\n (no-py3 !)
658 write(37 from 37) -> (296) Date: $HTTP_DATE$\r\n (no-py3 !)
695 write(37 from 37) -> (296) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -669,10 +706,11 b' Server sends partial compression string'
669 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
706 readline(*) -> (2?) host: localhost:$HGPORT\r\n (glob)
670 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
707 readline(*) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n (glob)
671 readline(*) -> (2) \r\n (glob)
708 readline(*) -> (2) \r\n (glob)
672 sendall(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
709 sendall(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py36 !)
673 sendall(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc) (py3 !)
710 sendall(6 from 6) -> (18) 1\\r\\n\x04\\r\\n (esc) (py36 !)
674 sendall(9 from 9) -> (9) 4\r\nnone\r\n (py3 !)
711 sendall(9 from 9) -> (9) 4\r\nnone\r\n (py36 !)
675 sendall(9 from 9) -> (0) 4\r\nHG20\r\n (py3 !)
712 sendall(9 from 9) -> (0) 4\r\nHG20\r\n (py36 !)
713 write(167 from 167) -> (24) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 no-py36 !)
676 write(36 from 36) -> (155) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
714 write(36 from 36) -> (155) HTTP/1.1 200 Script output follows\r\n (no-py3 !)
677 write(23 from 23) -> (132) Server: badhttpserver\r\n (no-py3 !)
715 write(23 from 23) -> (132) Server: badhttpserver\r\n (no-py3 !)
678 write(37 from 37) -> (95) Date: $HTTP_DATE$\r\n (no-py3 !)
716 write(37 from 37) -> (95) Date: $HTTP_DATE$\r\n (no-py3 !)
@@ -705,7 +743,7 b' Server sends partial bundle2 header magi'
705
743
706 $ killdaemons.py $DAEMON_PIDS
744 $ killdaemons.py $DAEMON_PIDS
707
745
708 #if py3
746 #if py36
709 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -9
747 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -9
710 sendall(167 from 167) -> (21) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
748 sendall(167 from 167) -> (21) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
711 sendall(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc)
749 sendall(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc)
@@ -719,8 +757,10 b' Server sends partial bundle2 header magi'
719
757
720 #else
758 #else
721 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11
759 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11
722 write(28 from 28) -> (23) Transfer-Encoding: chunked\r\n
760 readline(65537) -> (2) \r\n (py3 !)
723 write(2 from 2) -> (21) \r\n
761 write(167 from 167) -> (21) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
762 write(28 from 28) -> (23) Transfer-Encoding: chunked\r\n (no-py3 !)
763 write(2 from 2) -> (21) \r\n (no-py3 !)
724 write(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc)
764 write(6 from 6) -> (15) 1\\r\\n\x04\\r\\n (esc)
725 write(9 from 9) -> (6) 4\r\nnone\r\n
765 write(9 from 9) -> (6) 4\r\nnone\r\n
726 write(6 from 9) -> (0) 4\r\nHG2
766 write(6 from 9) -> (0) 4\r\nHG2
@@ -748,7 +788,7 b' Server sends incomplete bundle2 stream p'
748
788
749 $ killdaemons.py $DAEMON_PIDS
789 $ killdaemons.py $DAEMON_PIDS
750
790
751 #if py3
791 #if py36
752 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10
792 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10
753 sendall(167 from 167) -> (30) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
793 sendall(167 from 167) -> (30) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
754 sendall(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc)
794 sendall(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc)
@@ -763,8 +803,10 b' Server sends incomplete bundle2 stream p'
763
803
764 #else
804 #else
765 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
805 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
766 write(28 from 28) -> (32) Transfer-Encoding: chunked\r\n
806 readline(65537) -> (2) \r\n (py3 !)
767 write(2 from 2) -> (30) \r\n
807 write(167 from 167) -> (30) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
808 write(28 from 28) -> (32) Transfer-Encoding: chunked\r\n (no-py3 !)
809 write(2 from 2) -> (30) \r\n (no-py3 !)
768 write(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc)
810 write(6 from 6) -> (24) 1\\r\\n\x04\\r\\n (esc)
769 write(9 from 9) -> (15) 4\r\nnone\r\n
811 write(9 from 9) -> (15) 4\r\nnone\r\n
770 write(9 from 9) -> (6) 4\r\nHG20\r\n
812 write(9 from 9) -> (6) 4\r\nHG20\r\n
@@ -792,7 +834,7 b' Servers stops after bundle2 stream param'
792
834
793 $ killdaemons.py $DAEMON_PIDS
835 $ killdaemons.py $DAEMON_PIDS
794
836
795 #if py3
837 #if py36
796 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10
838 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -10
797 sendall(167 from 167) -> (33) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
839 sendall(167 from 167) -> (33) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
798 sendall(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc)
840 sendall(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc)
@@ -807,8 +849,10 b' Servers stops after bundle2 stream param'
807
849
808 #else
850 #else
809 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
851 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
810 write(28 from 28) -> (35) Transfer-Encoding: chunked\r\n
852 readline(65537) -> (2) \r\n (py3 !)
811 write(2 from 2) -> (33) \r\n
853 write(167 from 167) -> (33) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
854 write(28 from 28) -> (35) Transfer-Encoding: chunked\r\n (no-py3 !)
855 write(2 from 2) -> (33) \r\n (no-py3 !)
812 write(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc)
856 write(6 from 6) -> (27) 1\\r\\n\x04\\r\\n (esc)
813 write(9 from 9) -> (18) 4\r\nnone\r\n
857 write(9 from 9) -> (18) 4\r\nnone\r\n
814 write(9 from 9) -> (9) 4\r\nHG20\r\n
858 write(9 from 9) -> (9) 4\r\nHG20\r\n
@@ -836,7 +880,7 b' Server stops sending after bundle2 part '
836
880
837 $ killdaemons.py $DAEMON_PIDS
881 $ killdaemons.py $DAEMON_PIDS
838
882
839 #if py3
883 #if py36
840 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11
884 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -11
841 sendall(167 from 167) -> (42) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
885 sendall(167 from 167) -> (42) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
842 sendall(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc)
886 sendall(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc)
@@ -853,8 +897,10 b' Server stops sending after bundle2 part '
853 #else
897 #else
854
898
855 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -13
899 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -13
856 write(28 from 28) -> (44) Transfer-Encoding: chunked\r\n
900 readline(65537) -> (2) \r\n (py3 !)
857 write(2 from 2) -> (42) \r\n
901 write(167 from 167) -> (42) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
902 write(28 from 28) -> (44) Transfer-Encoding: chunked\r\n (no-py3 !)
903 write(2 from 2) -> (42) \r\n (no-py3 !)
858 write(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc)
904 write(6 from 6) -> (36) 1\\r\\n\x04\\r\\n (esc)
859 write(9 from 9) -> (27) 4\r\nnone\r\n
905 write(9 from 9) -> (27) 4\r\nnone\r\n
860 write(9 from 9) -> (18) 4\r\nHG20\r\n
906 write(9 from 9) -> (18) 4\r\nHG20\r\n
@@ -886,7 +932,7 b' Server stops sending after bundle2 part '
886
932
887 $ killdaemons.py $DAEMON_PIDS
933 $ killdaemons.py $DAEMON_PIDS
888
934
889 #if py3
935 #if py36
890 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
936 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -12
891 sendall(167 from 167) -> (89) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
937 sendall(167 from 167) -> (89) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
892 sendall(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc)
938 sendall(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc)
@@ -903,8 +949,10 b' Server stops sending after bundle2 part '
903
949
904 #else
950 #else
905 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
951 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
906 write(28 from 28) -> (91) Transfer-Encoding: chunked\r\n
952 readline(65537) -> (2) \r\n (py3 !)
907 write(2 from 2) -> (89) \r\n
953 write(167 from 167) -> (89) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
954 write(28 from 28) -> (91) Transfer-Encoding: chunked\r\n (no-py3 !)
955 write(2 from 2) -> (89) \r\n (no-py3 !)
908 write(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc)
956 write(6 from 6) -> (83) 1\\r\\n\x04\\r\\n (esc)
909 write(9 from 9) -> (74) 4\r\nnone\r\n
957 write(9 from 9) -> (74) 4\r\nnone\r\n
910 write(9 from 9) -> (65) 4\r\nHG20\r\n
958 write(9 from 9) -> (65) 4\r\nHG20\r\n
@@ -938,7 +986,7 b' Server stops after bundle2 part payload '
938
986
939 $ killdaemons.py $DAEMON_PIDS
987 $ killdaemons.py $DAEMON_PIDS
940
988
941 #if py3
989 #if py36
942 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
990 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
943 sendall(167 from 167) -> (110) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
991 sendall(167 from 167) -> (110) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
944 sendall(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc)
992 sendall(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc)
@@ -957,7 +1005,8 b' Server stops after bundle2 part payload '
957
1005
958 #else
1006 #else
959 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -15
1007 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -15
960 write(2 from 2) -> (110) \r\n
1008 write(167 from 167) -> (110) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
1009 write(2 from 2) -> (110) \r\n (no-py3 !)
961 write(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc)
1010 write(6 from 6) -> (104) 1\\r\\n\x04\\r\\n (esc)
962 write(9 from 9) -> (95) 4\r\nnone\r\n
1011 write(9 from 9) -> (95) 4\r\nnone\r\n
963 write(9 from 9) -> (86) 4\r\nHG20\r\n
1012 write(9 from 9) -> (86) 4\r\nHG20\r\n
@@ -992,7 +1041,7 b' Server stops sending in middle of bundle'
992
1041
993 $ killdaemons.py $DAEMON_PIDS
1042 $ killdaemons.py $DAEMON_PIDS
994
1043
995 #if py3
1044 #if py36
996 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
1045 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -14
997 sendall(167 from 167) -> (571) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
1046 sendall(167 from 167) -> (571) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n
998 sendall(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc)
1047 sendall(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc)
@@ -1011,8 +1060,10 b' Server stops sending in middle of bundle'
1011
1060
1012 #else
1061 #else
1013 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16
1062 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16
1014 write(28 from 28) -> (573) Transfer-Encoding: chunked\r\n
1063 readline(65537) -> (2) \r\n (py3 !)
1015 write(2 from 2) -> (571) \r\n
1064 write(167 from 167) -> (571) HTTP/1.1 200 Script output follows\r\nServer: badhttpserver\r\nDate: $HTTP_DATE$\r\nContent-Type: application/mercurial-0.2\r\nTransfer-Encoding: chunked\r\n\r\n (py3 !)
1065 write(28 from 28) -> (573) Transfer-Encoding: chunked\r\n (no-py3 !)
1066 write(2 from 2) -> (571) \r\n (no-py3 !)
1016 write(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc)
1067 write(6 from 6) -> (565) 1\\r\\n\x04\\r\\n (esc)
1017 write(9 from 9) -> (556) 4\r\nnone\r\n
1068 write(9 from 9) -> (556) 4\r\nnone\r\n
1018 write(9 from 9) -> (547) 4\r\nHG20\r\n
1069 write(9 from 9) -> (547) 4\r\nHG20\r\n
@@ -1051,7 +1102,7 b' Server stops sending after 0 length payl'
1051
1102
1052 $ killdaemons.py $DAEMON_PIDS
1103 $ killdaemons.py $DAEMON_PIDS
1053
1104
1054 #if py3
1105 #if py36
1055 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16
1106 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -16
1056 sendall(6 from 6) -> (596) 1\\r\\n\x04\\r\\n (esc)
1107 sendall(6 from 6) -> (596) 1\\r\\n\x04\\r\\n (esc)
1057 sendall(9 from 9) -> (587) 4\r\nnone\r\n
1108 sendall(9 from 9) -> (587) 4\r\nnone\r\n
@@ -1112,7 +1163,7 b' This is before the 0 size chunked transf'
1112
1163
1113 $ killdaemons.py $DAEMON_PIDS
1164 $ killdaemons.py $DAEMON_PIDS
1114
1165
1115 #if py3
1166 #if py36
1116 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -25
1167 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -25
1117 sendall(9 from 9) -> (851) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
1168 sendall(9 from 9) -> (851) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
1118 sendall(9 from 9) -> (842) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
1169 sendall(9 from 9) -> (842) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
@@ -1190,7 +1241,7 b' Server sends a size 0 chunked-transfer s'
1190
1241
1191 $ killdaemons.py $DAEMON_PIDS
1242 $ killdaemons.py $DAEMON_PIDS
1192
1243
1193 #if py3
1244 #if py36
1194 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -26
1245 $ "$PYTHON" $TESTDIR/filtertraceback.py < error.log | tail -26
1195 sendall(9 from 9) -> (854) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
1246 sendall(9 from 9) -> (854) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
1196 sendall(9 from 9) -> (845) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
1247 sendall(9 from 9) -> (845) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
General Comments 0
You need to be logged in to leave comments. Login now