test: make sure sparse-revlog does not interfer with test-parseindex.t
authorBoris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:13:01 +0100
changeset 40905 75728718257e
parent 40904 8aa7879adacf
child 40906 2c55fd1c1468
test: make sure sparse-revlog does not interfer with test-parseindex.t That test carefully craft revlog to reproduce issues. We do not want new revlog behavior to interfere with that. Differential Revision: https://phab.mercurial-scm.org/D5314
tests/test-parseindex.t
--- a/tests/test-parseindex.t	Mon Nov 12 01:41:23 2018 +0100
+++ b/tests/test-parseindex.t	Mon Nov 12 01:13:01 2018 +0100
@@ -132,9 +132,9 @@
   $ mkdir invalidparent
   $ cd invalidparent
 
-  $ hg clone --pull -q --config phases.publish=False ../a limit
-  $ hg clone --pull -q --config phases.publish=False ../a neglimit
-  $ hg clone --pull -q --config phases.publish=False ../a segv
+  $ hg clone --pull -q --config phases.publish=False ../a limit --config format.sparse-revlog=no
+  $ hg clone --pull -q --config phases.publish=False ../a neglimit --config format.sparse-revlog=no
+  $ hg clone --pull -q --config phases.publish=False ../a segv --config format.sparse-revlog=no
   $ rm -R limit/.hg/cache neglimit/.hg/cache segv/.hg/cache
 
   $ "$PYTHON" <<EOF