tests: combine test-dirstate-future.t
authorAdrian Buehlmann <adrian@cadifra.com>
Sun, 15 Aug 2010 18:25:29 +0200
changeset 11888 2bd699886ffc
parent 11887 76818b28ce98
child 11893 aa50d07208d2
tests: combine test-dirstate-future.t into test-dirstate.t
tests/test-dirstate-future.t
tests/test-dirstate.t
--- a/tests/test-dirstate-future.t	Sun Aug 15 18:24:49 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-Prepare test repo:
-
-  $ hg init
-  $ echo a > a
-  $ hg add
-  adding a
-  $ hg ci -m1
-
-Set mtime of a into the future:
-
-  $ touch -t 202101011200 a
-
-Status must not set a's entry to unset (issue1790):
-
-  $ hg status
-  $ hg debugstate
-  n 644          2 2021-01-01 12:00:00 a
-
--- a/tests/test-dirstate.t	Sun Aug 15 18:24:49 2010 +0200
+++ b/tests/test-dirstate.t	Sun Aug 15 18:25:29 2010 +0200
@@ -1,4 +1,4 @@
-Test dirstate._dirs refcounting:
+------ Test dirstate._dirs refcounting
 
   $ hg init t
   $ cd t
@@ -14,4 +14,27 @@
   moving a/b/c/d/x to z/b/c/d/x
   moving a/b/c/d/y to z/b/c/d/y
   moving a/b/c/d/z to z/b/c/d/z
+  $ cd ..
 
+------ issue1790
+
+Prepare test repo:
+
+  $ hg init u
+  $ cd u
+  $ echo a > a
+  $ hg add
+  adding a
+  $ hg ci -m1
+
+Set mtime of a into the future:
+
+  $ touch -t 202101011200 a
+
+Status must not set a's entry to unset (issue1790):
+
+  $ hg status
+  $ hg debugstate
+  n 644          2 2021-01-01 12:00:00 a
+  $ cd ..
+