diff tests/test-dispatch.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 88250a460bf8
children 92e30e135581
line wrap: on
line diff
--- a/tests/test-dispatch.t	Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-dispatch.t	Thu Sep 16 17:51:32 2010 -0500
@@ -43,6 +43,7 @@
   [+] marked option can be specified multiple times
   
   use "hg -v help cat" to show global options
+  [255]
 
 [defaults]
 
@@ -54,12 +55,14 @@
   > EOF
   $ hg cat a
   a: no such file in rev 000000000000
+  [1]
 
 No repo:
 
   $ cd $dir
   $ hg cat
   abort: There is no Mercurial repository here (.hg not found)!
+  [255]
 
   $ exit 0