diff tests/test-narrow-widen.t @ 36084:dc01484606da

tests: fold narrow treemanifest tests into main test file using testcases These tests predate the testcases functionality in run-tests.py, so it was never done in narrowhg. Differential Revision: https://phab.mercurial-scm.org/D1979
author Augie Fackler <augie@google.com>
date Thu, 01 Feb 2018 17:19:41 -0500
parents a2a6e724d61a
children 5ebfb7cc6f2c
line wrap: on
line diff
--- a/tests/test-narrow-widen.t	Mon Jan 29 18:16:23 2018 -0500
+++ b/tests/test-narrow-widen.t	Thu Feb 01 17:19:41 2018 -0500
@@ -1,5 +1,13 @@
+#testcases flat tree
   $ . "$TESTDIR/narrow-library.sh"
 
+#if tree
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > treemanifest = 1
+  > EOF
+#endif
+
   $ hg init master
   $ cd master
   $ cat >> .hg/hgrc <<EOF
@@ -232,6 +240,7 @@
   $ hg verify
   checking changesets
   checking manifests
+  checking directory manifests (tree !)
   crosschecking files in changesets and manifests
   checking files
   4 files, 8 changesets, 4 total revisions
@@ -276,6 +285,7 @@
   $ hg verify
   checking changesets
   checking manifests
+  checking directory manifests (tree !)
   crosschecking files in changesets and manifests
   checking files
   5 files, 9 changesets, 5 total revisions