changeset 11887:76818b28ce98

tests: unify test-dirstatedirs
author Adrian Buehlmann <adrian@cadifra.com>
date Sun, 15 Aug 2010 18:24:49 +0200
parents 73112cb2a6d7
children 2bd699886ffc
files tests/test-dirstate.t tests/test-dirstatedirs tests/test-dirstatedirs.out
diffstat 3 files changed, 17 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- /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