comparison tests/test-archive.t @ 41316:8df3471931cc

tests: add size and hash for Python 3 test-archive.t now passes on Python 3.7.1. Differential Revision: https://phab.mercurial-scm.org/D5648
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 22 Jan 2019 17:02:40 -0800
parents 6519f5aee06f
children c04e0836f039
comparison
equal deleted inserted replaced
41315:a9b609fbe39c 41316:8df3471931cc
185 date: $HTTP_DATE$ 185 date: $HTTP_DATE$
186 etag: W/"*" (glob) 186 etag: W/"*" (glob)
187 server: testing stub value 187 server: testing stub value
188 transfer-encoding: chunked 188 transfer-encoding: chunked
189 189
190 body: size=(1377|1461), sha1=(677b14d3d048778d5eb5552c14a67e6192068650|be6d3983aa13dfe930361b2569291cdedd02b537) (re) 190 body: size=(1377|1461|1489), sha1=(677b14d3d048778d5eb5552c14a67e6192068650|be6d3983aa13dfe930361b2569291cdedd02b537|1897e496871aa89ad685a92b936f5fa0d008b9e8) (re)
191 % tar.gz and tar.bz2 disallowed should both give 403 191 % tar.gz and tar.bz2 disallowed should both give 403
192 403 Archive type not allowed: gz 192 403 Archive type not allowed: gz
193 content-type: text/html; charset=ascii 193 content-type: text/html; charset=ascii
194 date: $HTTP_DATE$ 194 date: $HTTP_DATE$
195 etag: W/"*" (glob) 195 etag: W/"*" (glob)
272 date: $HTTP_DATE$ 272 date: $HTTP_DATE$
273 etag: W/"*" (glob) 273 etag: W/"*" (glob)
274 server: testing stub value 274 server: testing stub value
275 transfer-encoding: chunked 275 transfer-encoding: chunked
276 276
277 body: size=(1377|1461), sha1=(677b14d3d048778d5eb5552c14a67e6192068650|be6d3983aa13dfe930361b2569291cdedd02b537) (re) 277 body: size=(1377|1461|1489), sha1=(677b14d3d048778d5eb5552c14a67e6192068650|be6d3983aa13dfe930361b2569291cdedd02b537|1897e496871aa89ad685a92b936f5fa0d008b9e8) (re)
278 % tar.gz and tar.bz2 disallowed should both give 403 278 % tar.gz and tar.bz2 disallowed should both give 403
279 403 Archive type not allowed: gz 279 403 Archive type not allowed: gz
280 content-type: text/html; charset=ascii 280 content-type: text/html; charset=ascii
281 date: $HTTP_DATE$ 281 date: $HTTP_DATE$
282 etag: W/"*" (glob) 282 etag: W/"*" (glob)