##// END OF EJS Templates
check-code: warn to use killdaemons instead of kill `cat PIDFILE`...
Kevin Bullock -
r18575:667063b2 default
parent child Browse files
Show More
@@ -80,6 +80,7 b' testpats = ['
80 (r'^diff.*-\w*N', "don't use 'diff -N'"),
80 (r'^diff.*-\w*N', "don't use 'diff -N'"),
81 (r'\$PWD|\${PWD}', "don't use $PWD, use `pwd`"),
81 (r'\$PWD|\${PWD}', "don't use $PWD, use `pwd`"),
82 (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\^', "^ must be quoted"),
82 (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\^', "^ must be quoted"),
83 (r'kill (`|\$\()', "don't use kill, use killdaemons.py")
83 ]
84 ]
84 ]
85 ]
85
86
@@ -9,3 +9,45 b''
9 New errors are not allowed. Warnings are strongly discouraged.
9 New errors are not allowed. Warnings are strongly discouraged.
10
10
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0
12 tests/test-hgweb-raw.t:0:
13 > $ while kill `cat hg.pid` 2>/dev/null; do sleep 0; done
14 don't use kill, use killdaemons.py
15 don't use kill, use killdaemons.py
16 tests/test-https.t:0:
17 > $ while kill `cat hg1.pid` 2>/dev/null; do sleep 0; done
18 don't use kill, use killdaemons.py
19 tests/test-inotify-debuginotify.t:0:
20 > $ kill `cat hg.pid`
21 don't use kill, use killdaemons.py
22 tests/test-inotify-issue1371.t:0:
23 > $ kill `cat hg.pid`
24 don't use kill, use killdaemons.py
25 tests/test-inotify-issue1542.t:0:
26 > $ kill `cat hg.pid`
27 don't use kill, use killdaemons.py
28 tests/test-inotify-issue1556.t:0:
29 > $ kill `cat hg.pid`
30 don't use kill, use killdaemons.py
31 tests/test-inotify-lookup.t:0:
32 > $ kill `cat .hg/inotify.pid`
33 don't use kill, use killdaemons.py
34 tests/test-inotify.t:0:
35 > $ kill `cat ../hg2.pid`
36 don't use kill, use killdaemons.py
37 tests/test-inotify.t:0:
38 > $ kill `cat hg.pid`
39 don't use kill, use killdaemons.py
40 tests/test-inotify.t:0:
41 > $ kill `cat hg3.pid`
42 don't use kill, use killdaemons.py
43 tests/test-obsolete.t:0:
44 > $ kill `cat hg.pid`
45 don't use kill, use killdaemons.py
46 don't use kill, use killdaemons.py
47 tests/test-serve.t:0:
48 > > kill `cat hg.pid`
49 don't use kill, use killdaemons.py
50 tests/test-serve.t:0:
51 > > kill `cat hg.pid` 2>/dev/null
52 don't use kill, use killdaemons.py
53 [1]
General Comments 0
You need to be logged in to leave comments. Login now