tests/test-rollback.t
changeset 20524 28b8ff84db3f
parent 16916 c76175cd1415
child 21404 ca275f7ec576
--- a/tests/test-rollback.t	Sat Feb 15 22:09:32 2014 -0600
+++ b/tests/test-rollback.t	Mon Feb 17 14:49:56 2014 -0600
@@ -184,4 +184,14 @@
   $ cat a
   a
 
-  $ cd ..
+corrupt journal test
+  $ echo "foo" > .hg/store/journal
+  $ hg recover
+  rolling back interrupted transaction
+  couldn't read journal entry 'foo\n'!
+  checking changesets
+  checking manifests
+  crosschecking files in changesets and manifests
+  checking files
+  1 files, 2 changesets, 2 total revisions
+