test-mq: better tests delimitation
authorPatrick Mezard <pmezard@gmail.com>
Tue, 29 Dec 2009 16:00:24 +0100
changeset 10149 fa7170d6529f
parent 10148 fdeffbc9a6cc
child 10150 926c436964b4
test-mq: better tests delimitation
tests/test-mq
tests/test-mq.out
--- a/tests/test-mq	Tue Dec 29 01:32:40 2009 +0100
+++ b/tests/test-mq	Tue Dec 29 16:00:24 2009 +0100
@@ -368,8 +368,9 @@
 git = False
 EOF
 hg qdiff --git
+cd ..
 
-cd ..
+echo % test file addition in slow path
 hg init slow
 cd slow
 hg qinit
@@ -394,7 +395,7 @@
 hg qrefresh
 grep 'diff --git' .hg/patches/bar
 
-echo
+echo % test file move chains in the slow path
 hg up -C 1
 echo >> foo
 hg ci -m 'change foo again'
--- a/tests/test-mq.out	Tue Dec 29 01:32:40 2009 +0100
+++ b/tests/test-mq.out	Tue Dec 29 16:00:24 2009 +0100
@@ -380,6 +380,7 @@
 diff --git a/new b/copy
 copy from new
 copy to copy
+% test file addition in slow path
 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
 created new head
 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
@@ -415,7 +416,7 @@
 2 baz (foo)
 diff --git a/bar b/bar
 diff --git a/foo b/baz
-
+% test file move chains in the slow path
 1 files updated, 0 files merged, 2 files removed, 0 files unresolved
 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
 popping bar