tests: unify test-dirstatedirs
authorAdrian Buehlmann <adrian@cadifra.com>
Sun, 15 Aug 2010 18:24:49 +0200
changeset 11887 76818b28ce98
parent 11886 73112cb2a6d7
child 11888 2bd699886ffc
tests: unify test-dirstatedirs
tests/test-dirstate.t
tests/test-dirstatedirs
tests/test-dirstatedirs.out
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-dirstate.t	Sun Aug 15 18:24:49 2010 +0200
@@ -0,0 +1,17 @@
+Test dirstate._dirs refcounting:
+
+  $ hg init t
+  $ cd t
+  $ mkdir -p a/b/c/d
+  $ touch a/b/c/d/x
+  $ touch a/b/c/d/y
+  $ touch a/b/c/d/z
+  $ hg ci -Am m
+  adding a/b/c/d/x
+  adding a/b/c/d/y
+  adding a/b/c/d/z
+  $ hg mv a z
+  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
+
--- a/tests/test-dirstatedirs	Sun Aug 15 18:13:46 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-# test dirstate._dirs refcounting
-hg init t
-cd t
-mkdir -p a/b/c/d
-touch a/b/c/d/x
-touch a/b/c/d/y
-touch a/b/c/d/z
-hg ci -Am m
-hg mv a z
--- a/tests/test-dirstatedirs.out	Sun Aug 15 18:13:46 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-adding a/b/c/d/x
-adding a/b/c/d/y
-adding a/b/c/d/z
-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