Patchwork D6787: test: allow different result for zstd compression (issue6188)

login
register
mail settings
Submitter phabricator
Date Sept. 6, 2019, 9:54 a.m.
Message ID <differential-rev-PHID-DREV-n7igflxi7rksi7c3lnij-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41492/
State Superseded
Headers show

Comments

phabricator - Sept. 6, 2019, 9:54 a.m.
jcristau created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  test-repo-compengines fails on big-endian due to different file size,
  but the repo doesn't seem broken, so allow both sizes.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-repo-compengines.t

CHANGE DETAILS




To: jcristau, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-repo-compengines.t b/tests/test-repo-compengines.t
--- a/tests/test-repo-compengines.t
+++ b/tests/test-repo-compengines.t
@@ -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=(4094|4102) (re)
 
 Test error cases