Patchwork D6986: tests: make tarball output conditional on Python version

login
register
mail settings
Submitter phabricator
Date Oct. 6, 2019, 3:06 p.m.
Message ID <1a951ada1eaf315e65710ef31c30b647@localhost.localdomain>
Download mbox | patch
Permalink /patch/42020/
State Not Applicable
Headers show

Comments

phabricator - Oct. 6, 2019, 3:06 p.m.
Closed by commit rHG830eacef67f8: tests: make tarball output conditional on Python version (authored by indygreg).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6986?vs=16855&id=16893

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

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

AFFECTED FILES
  tests/test-archive.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, pulkit
Cc: mjpieters, mercurial-devel

Patch

diff --git a/tests/test-archive.t b/tests/test-archive.t
--- a/tests/test-archive.t
+++ b/tests/test-archive.t
@@ -131,7 +131,8 @@ 
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505
+  body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505 (no-py38 !)
+  body: size=506, sha1=70926a04cb8887d0bcccf5380488100a10222def (py-38 !)
   % tar.bz2 and zip disallowed should both give 403
   403 Archive type not allowed: bz2
   content-type: text/html; charset=ascii
@@ -159,7 +160,8 @@ 
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b
+  body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b (no-py38 !)
+  body: size=506, sha1=1bd1f8e8d3701704bd4385038bd9c09b81c77f4e (py38 !)
   % zip and tar.gz disallowed should both give 403
   403 Archive type not allowed: zip
   content-type: text/html; charset=ascii
@@ -218,7 +220,8 @@ 
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505
+  body: size=408, sha1=8fa06531bddecc365a9f5edb0f88b65974bfe505 (no-py38 !)
+  body: size=506, sha1=70926a04cb8887d0bcccf5380488100a10222def (py38 !)
   % tar.bz2 and zip disallowed should both give 403
   403 Archive type not allowed: bz2
   content-type: text/html; charset=ascii
@@ -246,7 +249,8 @@ 
   server: testing stub value
   transfer-encoding: chunked
   
-  body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b
+  body: size=426, sha1=8d87f5aba6e14f1bfea6c232985982c278b2fb0b (no-py38 !)
+  body: size=506, sha1=1bd1f8e8d3701704bd4385038bd9c09b81c77f4e (py38 !)
   % zip and tar.gz disallowed should both give 403
   403 Archive type not allowed: zip
   content-type: text/html; charset=ascii