Mercurial > public > mercurial-scm > hg
diff tests/test-permissions.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 | 28e2e3804f2e |
children | 02990e22150b |
line wrap: on
line diff
--- a/tests/test-permissions.t Tue Sep 21 12:41:24 2010 -0500 +++ b/tests/test-permissions.t Tue Sep 21 16:00:02 2010 -0500 @@ -15,17 +15,17 @@ $ chmod -r .hg/store/data/a.i - $ hg verify || echo %%% verify failed + $ hg verify checking changesets checking manifests crosschecking files in changesets and manifests checking files abort: Permission denied: .* - %%% verify failed + [255] $ chmod +r .hg/store/data/a.i - $ hg verify || echo %%% verify failed + $ hg verify checking changesets checking manifests crosschecking files in changesets and manifests @@ -35,10 +35,10 @@ $ chmod -w .hg/store/data/a.i $ echo barber > a - $ hg commit -m "2" || echo %%% commit failed + $ hg commit -m "2" trouble committing a! abort: Permission denied: .* - %%% commit failed + [255] $ chmod -w .