[Bug 6188] New: zstd differences on big-endian (test-repo-compengines.t fails)

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Thu Aug 22 13:12:30 UTC 2019


https://bz.mercurial-scm.org/show_bug.cgi?id=6188

            Bug ID: 6188
           Summary: zstd differences on big-endian
                    (test-repo-compengines.t fails)
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: jcristau at debian.org
                CC: mercurial-devel at mercurial-scm.org

Created attachment 2056
  --> https://bz.mercurial-scm.org/attachment.cgi?id=2056&action=edit
zstd-level-default/.hg/store/data/a.i from test-repo-compengines.t on s390x

Hi,

I'm not sure whether this is an issue with zstd itself, python-zstandard or
mercurial, so filing here.

Running test-repo-compengines.t on a big-endian host seems to fail consistently
(reproduced on mips and on s390x, with hg 5.1):

--- /home/jcristau/mercurial/tests/test-repo-compengines.t
+++ /home/jcristau/mercurial/tests/test-repo-compengines.t.err
@@ -171,7 +171,7 @@
   $ $RUNTESTDIR/f -s zstd-*/.hg/store/data/*
   zstd-level-1/.hg/store/data/a.i: size=4097
   zstd-level-22/.hg/store/data/a.i: size=4091
-  zstd-level-default/.hg/store/data/a.i: size=4094
+  zstd-level-default/.hg/store/data/a.i: size=4102

 Test error cases


ERROR: test-repo-compengines.t output changed

Attaching the file I get on s390x.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list