diff contrib/check-code.py @ 35450:991e4404e910

tests: convert the 'file://\$TESTTMP' rule to an automatic substitution The rule only triggered on non Windows platforms, even though Windows also required an adjustment. Automatic seems better. The aggressive globbing in test-subrepo-svn.t was found and rewritten by the substitution.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 16 Dec 2017 11:32:10 -0500
parents a8478b808f17
children e28dedf4ff43
line wrap: on
line diff
--- a/contrib/check-code.py	Sat Oct 21 17:27:14 2017 +0900
+++ b/contrib/check-code.py	Sat Dec 16 11:32:10 2017 -0500
@@ -181,8 +181,6 @@
     (uprefix + r'.*:\.\S*/', "x:.y in a path does not work on msys, rewrite "
      "as x://.y, or see `hg log -k msys` for alternatives", r'-\S+:\.|' #-Rxxx
      '# no-msys'), # in test-pull.t which is skipped on windows
-    (r'^  .*file://\$TESTTMP',
-     'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
     (r'^  [^$>].*27\.0\.0\.1',
      'use $LOCALIP not an explicit loopback address'),
     (r'^  (?![>$] ).*\$LOCALIP.*[^)]$',