Mercurial > public > mercurial-scm > hg
diff tests/test-add.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 | f2daa6ab514a |
children | 22f3353bcc36 |
line wrap: on
line diff
--- a/tests/test-add.t Thu Sep 16 16:12:26 2010 -0500 +++ b/tests/test-add.t Thu Sep 16 17:51:32 2010 -0500 @@ -54,6 +54,7 @@ merging a failed! 0 files updated, 0 files merged, 0 files removed, 1 files unresolved use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon + [1] $ hg st M a ? a.orig @@ -86,9 +87,11 @@ $ hg add c && echo "unexpected addition of missing file" c: No such file or directory + [1] $ echo c > c $ hg add d c && echo "unexpected addition of missing file" d: No such file or directory + [1] $ hg st M a A c