diff -r eb6c0d47c3d5 -r 3bece03bf3c6 contrib/check-code.py --- a/contrib/check-code.py Mon Oct 31 00:42:32 2011 +0900 +++ b/contrib/check-code.py Mon Oct 31 14:22:11 2011 -0500 @@ -52,6 +52,7 @@ (r'^diff.*-\w*N', "don't use 'diff -N'"), (r'(^| )wc[^|]*$\n(?!.*\(re\))', "filter wc output"), (r'head -c', "don't use 'head -c', use 'dd'"), + (r'sha1sum', "don't use sha1sum, use $TESTDIR/md5sum.py"), (r'ls.*-\w*R', "don't use 'ls -R', use 'find'"), (r'printf.*\\\d\d\d', "don't use 'printf \NNN', use Python"), (r'printf.*\\x', "don't use printf \\x, use Python"),