tests: make test-rebuildstate repeatable
authorMatt Mackall <mpm@selenic.com>
Fri, 21 Mar 2008 15:57:22 -0500
changeset 6344 ffeb926d57ce
parent 6343 1f9be57a6d6a
child 6345 351da911f739
tests: make test-rebuildstate repeatable
tests/test-rebuildstate
tests/test-rebuildstate.out
--- a/tests/test-rebuildstate	Fri Mar 21 15:57:22 2008 -0500
+++ b/tests/test-rebuildstate	Fri Mar 21 15:57:22 2008 -0500
@@ -11,14 +11,9 @@
 hg add baz
 hg rm bar
 
-echo '% state dump'
+hg debugrebuildstate
+echo '% state dump after'
 hg debugstate --nodates | sort
 echo '% status'
 hg st -A
 
-hg debugrebuildstate
-echo '% state dump'
-hg debugstate --nodates | sort
-echo '% status'
-hg st -A
-
--- a/tests/test-rebuildstate.out	Fri Mar 21 15:57:22 2008 -0500
+++ b/tests/test-rebuildstate.out	Fri Mar 21 15:57:22 2008 -0500
@@ -1,14 +1,6 @@
 adding bar
 adding foo
-% state dump
-a   0         -1 baz
-n   0         -1 foo
-r   0          0 bar
-% status
-A baz
-R bar
-C foo
-% state dump
+% state dump after
 n 666         -1 bar
 n 666         -1 foo
 % status