##// END OF EJS Templates
check-code: enforce (glob) on output lines containing 127.0.0.1
Augie Fackler -
r29520:57106f35 default
parent child Browse files
Show More
@@ -189,6 +189,8 b' utestpats = ['
189 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg),
189 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg),
190 (r'^ .*file://\$TESTTMP',
190 (r'^ .*file://\$TESTTMP',
191 'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
191 'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
192 (r'^ [^$>].*27\.0\.0\.1.*[^)]$',
193 'use (glob) to match localhost IP on hosts without 127.0.0.1 too'),
192 (r'^ (cat|find): .*: No such file or directory',
194 (r'^ (cat|find): .*: No such file or directory',
193 'use test -f to test for file existence'),
195 'use test -f to test for file existence'),
194 (r'^ diff -[^ -]*p',
196 (r'^ diff -[^ -]*p',
@@ -207,8 +209,8 b' utestpats = ['
207 ],
209 ],
208 # warnings
210 # warnings
209 [
211 [
210 (r'^ [^*?/\n]* \(glob\)$',
212 (r'^ (?!.*127\.0\.0\.1)[^*?/\n]* \(glob\)$',
211 "glob match with no glob character (?*/)"),
213 "glob match with no glob string (?, *, /, and 127.0.0.1)"),
212 ]
214 ]
213 ]
215 ]
214
216
General Comments 0
You need to be logged in to leave comments. Login now