summary: add tests for some extensions we plan to modify
authorBryan O'Sullivan <bryano@fb.com>
Tue, 14 May 2013 11:23:17 -0700
changeset 19213 f324a9b8d4bf
parent 19212 d0ba7022c13b
child 19214 0250047a365e
summary: add tests for some extensions we plan to modify
tests/test-bisect.t
tests/test-histedit-edit.t
tests/test-rebase-parameters.t
--- a/tests/test-bisect.t	Tue May 14 11:23:16 2013 -0700
+++ b/tests/test-bisect.t	Tue May 14 11:23:17 2013 -0700
@@ -184,6 +184,12 @@
 
   $ hg bisect -r
   $ hg bisect -b
+  $ hg summary
+  parent: 31:58c80a7c8a40 tip
+   msg 31
+  branch: default
+  commit: (clean)
+  update: (current)
   $ hg bisect -g 1
   Testing changeset 16:a2e6ea4973e9 (30 changesets remaining, ~4 tests)
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
--- a/tests/test-histedit-edit.t	Tue May 14 11:23:16 2013 -0700
+++ b/tests/test-histedit-edit.t	Tue May 14 11:23:17 2013 -0700
@@ -152,6 +152,14 @@
   When you are finished, run hg histedit --continue to resume.
   $ hg status
   A f
+
+  $ hg summary
+  parent: 5:a5e1ba2f7afb 
+   foobaz
+  branch: default
+  commit: 1 added (new branch head)
+  update: 1 new changesets (update)
+
   $ HGEDITOR='true' hg histedit --continue
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   saved backup bundle to $TESTTMP/r/.hg/strip-backup/b5f70786f9b0-backup.hg (glob)
--- a/tests/test-rebase-parameters.t	Tue May 14 11:23:16 2013 -0700
+++ b/tests/test-rebase-parameters.t	Tue May 14 11:23:17 2013 -0700
@@ -419,6 +419,15 @@
   unresolved conflicts (see hg resolve, then hg rebase --continue)
   [1]
 
+  $ hg summary
+  parent: 1:56daeba07f4b 
+   c2
+  parent: 2:e4e3f3546619 tip
+   c2b
+  branch: default
+  commit: 1 modified, 1 unresolved (merge)
+  update: (current)
+
   $ hg resolve -l
   U c2