changeset 12366 | c01dc9087d9a |
parent 12364 | e128fa4615f2 |
child 12367 | 3acd5f7ab9d0 |
--- 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)',