contrib/check-code.py
changeset 35446 991e4404e910
parent 35443 a8478b808f17
child 35447 e28dedf4ff43
equal deleted inserted replaced
35445:b86f52426396 35446:991e4404e910
   179     (uprefix + r'set -e', "don't use set -e"),
   179     (uprefix + r'set -e', "don't use set -e"),
   180     (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
   180     (uprefix + r'(\s|fi\b|done\b)', "use > for continued lines"),
   181     (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
   181     (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
   182      "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
   182      "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
   183      '# no-msys'), # in test-pull.t which is skipped on windows
   183      '# no-msys'), # in test-pull.t which is skipped on windows
   184     (r'^  .*file://\$TESTTMP',
       
   185      'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
       
   186     (r'^  [^$>].*27\.0\.0\.1',
   184     (r'^  [^$>].*27\.0\.0\.1',
   187      'use $LOCALIP not an explicit loopback address'),
   185      'use $LOCALIP not an explicit loopback address'),
   188     (r'^  (?![>$] ).*\$LOCALIP.*[^)]$',
   186     (r'^  (?![>$] ).*\$LOCALIP.*[^)]$',
   189      'mark $LOCALIP output lines with (glob) to help tests in BSD jails'),
   187      'mark $LOCALIP output lines with (glob) to help tests in BSD jails'),
   190     (r'^  (cat|find): .*: No such file or directory',
   188     (r'^  (cat|find): .*: No such file or directory',