diff tests/test-journal-exists.t @ 12316:4134686b83e1

tests: add exit codes to unified tests
author Matt Mackall <mpm@selenic.com>
date Thu, 16 Sep 2010 17:51:32 -0500
parents b4d0d646b3f7
children 92e30e135581
line wrap: on
line diff
--- a/tests/test-journal-exists.t	Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-journal-exists.t	Thu Sep 16 17:51:32 2010 -0500
@@ -10,6 +10,7 @@
   $ echo foo > a
   $ hg ci -Am0
   abort: abandoned transaction found - run hg recover!
+  [255]
 
   $ hg recover
   rolling back interrupted transaction
@@ -27,6 +28,7 @@
   $ hg -R foo unbundle repo.hg
   adding changesets
   abort: Permission denied: .*
+  [255]
 
   $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi