Mercurial > public > mercurial-scm > hg-stable
diff tests/test-git-import.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 | 05210e955bef |
line wrap: on
line diff
--- a/tests/test-git-import.t Tue Sep 21 12:41:24 2010 -0500 +++ b/tests/test-git-import.t Tue Sep 21 16:00:02 2010 -0500 @@ -43,7 +43,7 @@ $ hg tip -q 2:3a34410f282e - $ test -x new || echo failed + $ test -x new Copy: @@ -65,10 +65,10 @@ 3:37bacb7ca14d $ if "$TESTDIR/hghave" -q execbit; then - > test -f copy -a ! -x copy || echo failed - > test -x copyx || echo failed + > test -f copy -a ! -x copy || echo bad + > test -x copyx || echo bad > else - > test -f copy || echo failed + > test -f copy || echo bad > fi $ cat copy @@ -117,7 +117,8 @@ new rename - $ test -f copyx && echo failed || true + $ test -f copyx + [1] Regular diff: