changeset 40249:c9e8c93e241c

tests: accept slightly different zip file in Python 3 I added some `unzip -t` here and I *think* the only change is from Python 3 having more data in the zip file headers or something. Sigh. Differential Revision: https://phab.mercurial-scm.org/D5075
author Augie Fackler <augie@google.com>
date Sat, 13 Oct 2018 07:55:34 -0400
parents b24c23f7c1f9
children 7759c26a3a0b
files contrib/python3-whitelist tests/test-archive.t
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python3-whitelist	Sat Oct 13 07:53:51 2018 -0400
+++ b/contrib/python3-whitelist	Sat Oct 13 07:55:34 2018 -0400
@@ -14,6 +14,7 @@
 test-annotate.py
 test-annotate.t
 test-archive-symlinks.t
+test-archive.t
 test-atomictempfile.py
 test-audit-path.t
 test-audit-subrepo.t
--- a/tests/test-archive.t	Sat Oct 13 07:53:51 2018 -0400
+++ b/tests/test-archive.t	Sat Oct 13 07:55:34 2018 -0400
@@ -187,7 +187,8 @@
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650
+  body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !)
+  body: size=1461, sha1=be6d3983aa13dfe930361b2569291cdedd02b537 (py3k !)
   % tar.gz and tar.bz2 disallowed should both give 403
   403 Archive type not allowed: gz
   content-type: text/html; charset=ascii
@@ -274,7 +275,8 @@
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650
+  body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !)
+  body: size=1461, sha1=be6d3983aa13dfe930361b2569291cdedd02b537 (py3k !)
   % tar.gz and tar.bz2 disallowed should both give 403
   403 Archive type not allowed: gz
   content-type: text/html; charset=ascii