Mercurial > hg
comparison contrib/check-code.py @ 35153:273907306a39
contrib: improve check-code ban on $LOCALIP in output without (glob)
Differential Revision: https://phab.mercurial-scm.org/D1553
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 29 Nov 2017 17:06:45 -0500 |
parents | dd000a958364 |
children | 91a7204631f1 |
comparison
equal
deleted
inserted
replaced
35152:c1b94f34a11a | 35153:273907306a39 |
---|---|
195 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg), | 195 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg), |
196 (r'^ .*file://\$TESTTMP', | 196 (r'^ .*file://\$TESTTMP', |
197 'write "file:/*/$TESTTMP" + (glob) to match on windows too'), | 197 'write "file:/*/$TESTTMP" + (glob) to match on windows too'), |
198 (r'^ [^$>].*27\.0\.0\.1', | 198 (r'^ [^$>].*27\.0\.0\.1', |
199 'use $LOCALIP not an explicit loopback address'), | 199 'use $LOCALIP not an explicit loopback address'), |
200 (r'^ [^$>].*\$LOCALIP.*[^)]$', | 200 (r'^ (?![>$] ).*\$LOCALIP.*[^)]$', |
201 'mark $LOCALIP output lines with (glob) to help tests in BSD jails'), | 201 'mark $LOCALIP output lines with (glob) to help tests in BSD jails'), |
202 (r'^ (cat|find): .*: No such file or directory', | 202 (r'^ (cat|find): .*: No such file or directory', |
203 'use test -f to test for file existence'), | 203 'use test -f to test for file existence'), |
204 (r'^ diff -[^ -]*p', | 204 (r'^ diff -[^ -]*p', |
205 "don't use (external) diff with -p for portability"), | 205 "don't use (external) diff with -p for portability"), |