Mercurial > public > mercurial-scm > hg-stable
diff tests/test-bundle.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 | 4c94b6d0fb1c |
children | b00eda50ad2b |
line wrap: on
line diff
--- a/tests/test-bundle.t Thu Sep 16 16:12:26 2010 -0500 +++ b/tests/test-bundle.t Thu Sep 16 17:51:32 2010 -0500 @@ -62,6 +62,7 @@ Verify empty $ hg -R empty heads + [1] $ hg -R empty verify checking changesets checking manifests @@ -371,6 +372,7 @@ $ hg -R bundle://../does-not-exist.hg outgoing ../partial2 abort: No such file or directory: ../does-not-exist.hg + [255] $ cd .. Direct clone from bundle (all-history) @@ -462,11 +464,13 @@ $ hg -R bundle.hg verify abort: 00changelog.i@bbd179dfa0a7: unknown parent! + [255] full history bundle, refuses to verify non-local repo $ hg -R all.hg verify abort: cannot verify bundle or remote repos + [255] but, regular verify must continue to work