Mercurial > public > mercurial-scm > hg
diff tests/test-bisect.t @ 12365:22f3353bcc36
tests: cleanup exit code handling in unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 21 Sep 2010 16:00:02 -0500 |
parents | 4134686b83e1 |
children | c01dc9087d9a |
line wrap: on
line diff
--- a/tests/test-bisect.t Tue Sep 21 12:41:24 2010 -0500 +++ b/tests/test-bisect.t Tue Sep 21 16:00:02 2010 -0500 @@ -1,4 +1,3 @@ - $ set -e $ hg init @@ -270,12 +269,14 @@ date: Thu Jan 01 00:00:01 1970 +0000 summary: msg 1 + $ false + [1] + $ hg bisect -r $ hg bisect -g tip - $ hg bisect -b tip || echo error + $ hg bisect -b tip abort: starting revisions are not directly related - error $ hg bisect -r $ hg bisect -g null @@ -346,9 +347,8 @@ test no action $ hg bisect -r - $ hg bisect || echo failure + $ hg bisect abort: cannot bisect (no known good revisions) - failure reproduce AssertionError, issue1445