diff tests/test-archive.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 afe19a1bf9d3
children 11db6fa2961e
line wrap: on
line diff
--- a/tests/test-archive.t	Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-archive.t	Thu Sep 16 17:51:32 2010 -0500
@@ -164,6 +164,7 @@
 
   $ hg archive -t zip -p /illegal test.zip
   abort: archive prefix contains illegal components
+  [255]
   $ hg archive -t zip -p very/../bad test.zip
 
   $ hg archive --config ui.archivemeta=false -t zip -r 2 test.zip
@@ -205,6 +206,7 @@
 
   $ hg archive -t bogus test.bogus
   abort: unknown archive type 'bogus'
+  [255]
 
 server errors
 
@@ -216,5 +218,6 @@
   $ cd ../empty
   $ hg archive ../test-empty
   abort: no working directory: please specify a revision
+  [255]
 
   $ exit 0