test: explicitly use zlib compression in tests/test-repo-compengines.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 06 Apr 2021 18:49:01 +0200
changeset 46848 19747c07ed3f
parent 46847 47a9527731c3
child 46849 1a17c35fb9fd
test: explicitly use zlib compression in tests/test-repo-compengines.t We need the implicit value to be explicit until we can change the default in some case. Differential Revision: https://phab.mercurial-scm.org/D10321
tests/test-repo-compengines.t
--- a/tests/test-repo-compengines.t	Tue Apr 06 14:21:03 2021 -0700
+++ b/tests/test-repo-compengines.t	Tue Apr 06 18:49:01 2021 +0200
@@ -1,5 +1,12 @@
 A new repository uses zlib storage, which doesn't need a requirement
 
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > # stabilize test accross variant
+  > revlog-compression=zlib
+  > EOF
+
+
   $ hg init default
   $ cd default
   $ cat .hg/requires