test: allow different result for zstd compression (issue6188) stable
authorJulien Cristau <jcristau@debian.org>
Fri, 06 Sep 2019 11:48:49 +0200
branchstable
changeset 42847 da2c360899c9
parent 42844 b22a8dadc6f5
child 42848 344a086bb764
test: allow different result for zstd compression (issue6188) test-repo-compengines fails on big-endian due to different file size, but the repo doesn't seem broken, so allow both sizes. Differential Revision: https://phab.mercurial-scm.org/D6787
tests/test-repo-compengines.t
--- a/tests/test-repo-compengines.t	Thu Sep 05 14:08:22 2019 -0400
+++ b/tests/test-repo-compengines.t	Fri Sep 06 11:48:49 2019 +0200
@@ -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