comparison contrib/check-code.py @ 35451:e28dedf4ff43

tests: fix the check-code rule for testing non-existent files I missed this in feecfefeba25.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 16 Dec 2017 12:34:40 -0500
parents 991e4404e910
children c38e9248f531
comparison
equal deleted inserted replaced
35450:991e4404e910 35451:e28dedf4ff43
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'^ [^$>].*27\.0\.0\.1', 184 (r'^ [^$>].*27\.0\.0\.1',
185 'use $LOCALIP not an explicit loopback address'), 185 'use $LOCALIP not an explicit loopback address'),
186 (r'^ (?![>$] ).*\$LOCALIP.*[^)]$', 186 (r'^ (?![>$] ).*\$LOCALIP.*[^)]$',
187 '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'),
188 (r'^ (cat|find): .*: No such file or directory', 188 (r'^ (cat|find): .*: \$ENOENT\$',
189 'use test -f to test for file existence'), 189 'use test -f to test for file existence'),
190 (r'^ diff -[^ -]*p', 190 (r'^ diff -[^ -]*p',
191 "don't use (external) diff with -p for portability"), 191 "don't use (external) diff with -p for portability"),
192 (r' readlink ', 'use readlink.py instead of readlink'), 192 (r' readlink ', 'use readlink.py instead of readlink'),
193 (r'^ [-+][-+][-+] .* [-+]0000 \(glob\)', 193 (r'^ [-+][-+][-+] .* [-+]0000 \(glob\)',