##// END OF EJS Templates
test-inotify-debuginotify.t: migrate to killdaemons from kill `cat pidfile`
Augie Fackler -
r18590:104e1204 default
parent child Browse files
Show More
@@ -1,47 +1,44 b''
1 1 $ check_code="$TESTDIR"/../contrib/check-code.py
2 2 $ cd "$TESTDIR"/..
3 3 $ if hg identify -q > /dev/null; then :
4 4 > else
5 5 > echo "skipped: not a Mercurial working dir" >&2
6 6 > exit 80
7 7 > fi
8 8
9 9 New errors are not allowed. Warnings are strongly discouraged.
10 10
11 11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 \
12 12 > || false
13 tests/test-inotify-debuginotify.t:0:
14 > $ kill `cat hg.pid`
15 don't use kill, use killdaemons.py
16 13 tests/test-inotify-issue1371.t:0:
17 14 > $ kill `cat hg.pid`
18 15 don't use kill, use killdaemons.py
19 16 tests/test-inotify-issue1542.t:0:
20 17 > $ kill `cat hg.pid`
21 18 don't use kill, use killdaemons.py
22 19 tests/test-inotify-issue1556.t:0:
23 20 > $ kill `cat hg.pid`
24 21 don't use kill, use killdaemons.py
25 22 tests/test-inotify-lookup.t:0:
26 23 > $ kill `cat .hg/inotify.pid`
27 24 don't use kill, use killdaemons.py
28 25 tests/test-inotify.t:0:
29 26 > $ kill `cat ../hg2.pid`
30 27 don't use kill, use killdaemons.py
31 28 tests/test-inotify.t:0:
32 29 > $ kill `cat hg.pid`
33 30 don't use kill, use killdaemons.py
34 31 tests/test-inotify.t:0:
35 32 > $ kill `cat hg3.pid`
36 33 don't use kill, use killdaemons.py
37 34 tests/test-obsolete.t:0:
38 35 > $ kill `cat hg.pid`
39 36 don't use kill, use killdaemons.py
40 37 don't use kill, use killdaemons.py
41 38 tests/test-serve.t:0:
42 39 > > kill `cat hg.pid`
43 40 don't use kill, use killdaemons.py
44 41 tests/test-serve.t:0:
45 42 > > kill `cat hg.pid` 2>/dev/null
46 43 don't use kill, use killdaemons.py
47 44 [1]
@@ -1,41 +1,41 b''
1 1
2 2 $ "$TESTDIR/hghave" inotify || exit 80
3 3 $ hg init
4 4 $ echo "[extensions]" >> $HGRCPATH
5 5 $ echo "inotify=" >> $HGRCPATH
6 6
7 7 inserve
8 8
9 9 $ hg inserve -d --pid-file=hg.pid
10 10 $ cat hg.pid >> "$DAEMON_PIDS"
11 11
12 12 let the daemon finish its stuff
13 13
14 14 $ sleep 1
15 15
16 16 empty
17 17
18 18 $ hg debuginotify
19 19 directories being watched:
20 20 /
21 21 .hg/
22 22 $ mkdir a
23 23 $ sleep 1
24 24
25 25 only 'a
26 26
27 27 $ hg debuginotify
28 28 directories being watched:
29 29 /
30 30 .hg/
31 31 a/
32 32 $ rmdir a
33 33 $ sleep 1
34 34
35 35 empty again
36 36
37 37 $ hg debuginotify
38 38 directories being watched:
39 39 /
40 40 .hg/
41 $ kill `cat hg.pid`
41 $ "$TESTDIR/killdaemons.py" hg.pid
General Comments 0
You need to be logged in to leave comments. Login now