Mercurial > hg
diff tests/test-username-newline.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 | 3a082866422a |
children | 3b165c127690 |
line wrap: on
line diff
--- a/tests/test-username-newline.t Thu Sep 16 16:12:26 2010 -0500 +++ b/tests/test-username-newline.t Thu Sep 16 17:51:32 2010 -0500 @@ -10,15 +10,18 @@ adding a abort: username 'foo\nbar1' contains a newline + [255] $ rm .hg/hgrc $ HGUSER=`(echo foo; echo bar2)` hg ci -Am m abort: username 'foo\nbar2' contains a newline + [255] $ hg ci -Am m -u "`(echo foo; echo bar3)`" transaction abort! rollback completed abort: username 'foo\nbar3' contains a newline! + [255] $ true