Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-code.py @ 12366:c01dc9087d9a
tests: drop a bunch of sed calls from unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 21 Sep 2010 16:44:13 -0500 |
parents | e128fa4615f2 |
children | 3acd5f7ab9d0 |
line wrap: on
line diff
--- a/contrib/check-code.py Tue Sep 21 16:00:02 2010 -0500 +++ b/contrib/check-code.py Tue Sep 21 16:44:13 2010 -0500 @@ -72,6 +72,7 @@ uprefix = r"^ \$ " utestpats = [ + (uprefix + r'.*\|\s*sed', "use regex test output patterns instead of sed"), (uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"), (uprefix + r'.*\$\?', "explicit exit code checks unnecessary"), (uprefix + r'.*\|\| echo.*(fail|error)',