diff tests/test-import.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 887e9f487b7a
children c01dc9087d9a
line wrap: on
line diff
--- a/tests/test-import.t	Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-import.t	Thu Sep 16 17:51:32 2010 -0500
@@ -74,6 +74,7 @@
   $ hg --cwd b import ../tip.patch
   applying ../tip.patch
   abort: empty commit message
+  [255]
   $ rm -r b
 
 
@@ -287,6 +288,7 @@
   $ egrep -v '^(Subject|email)' msg.patch | hg --cwd b import -
   applying patch from stdin
   abort: empty commit message
+  [255]
   $ rm -r b
 
 
@@ -605,6 +607,7 @@
   > EOF
   applying patch from stdin
   abort: ../outside/foo not under root
+  [255]
   $ cd ..