Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-code.py @ 21930:a5168eb9b2bc stable
tests: cat error messages are different on Solaris
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Mon, 21 Jul 2014 11:27:24 -0700 |
parents | fb16f6da5b3b |
children | efd5b7eb3e6d |
line wrap: on
line diff
--- a/contrib/check-code.py Sun Jul 20 15:06:12 2014 -0300 +++ b/contrib/check-code.py Mon Jul 21 11:27:24 2014 -0700 @@ -168,6 +168,8 @@ (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg), (r'^ .*file://\$TESTTMP', 'write "file:/*/$TESTTMP" + (glob) to match on windows too'), + (r'^ (cat|find): .*: No such file or directory', + 'use test -f to test for file existence'), ], # warnings [