tests: avoid checking the exitcode of false
authorMads Kiilerich <mads@kiilerich.com>
Sat, 25 Sep 2010 21:52:17 +0200
changeset 12406 66a07fb76ceb
parent 12405 1f6abbd38783
child 12407 5bfab61c2fee
tests: avoid checking the exitcode of false Solaris false returns 255 instead of 1, so we remove one unneeded instance and replaces another with (exit 1) as suggested by Brodie Rao.
tests/test-bisect.t
tests/test-run-tests.t
--- a/tests/test-bisect.t	Sat Sep 25 02:35:36 2010 +0200
+++ b/tests/test-bisect.t	Sat Sep 25 21:52:17 2010 +0200
@@ -269,9 +269,6 @@
   date:        Thu Jan 01 00:00:01 1970 +0000
   summary:     msg 1
   
-  $ false
-  [1]
-
 
   $ hg bisect -r
   $ hg bisect -g tip
--- a/tests/test-run-tests.t	Sat Sep 25 02:35:36 2010 +0200
+++ b/tests/test-run-tests.t	Sat Sep 25 21:52:17 2010 +0200
@@ -33,5 +33,5 @@
 
 Exit code:
 
-  $ false
+  $ (exit 1) 
   [1]