Show More
@@ -1,44 +1,41 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-issue1371.t:0: | |
|
14 | > $ kill `cat hg.pid` | |
|
15 | don't use kill, use killdaemons.py | |
|
16 | 13 | tests/test-inotify-issue1542.t:0: |
|
17 | 14 | > $ kill `cat hg.pid` |
|
18 | 15 | don't use kill, use killdaemons.py |
|
19 | 16 | tests/test-inotify-issue1556.t:0: |
|
20 | 17 | > $ kill `cat hg.pid` |
|
21 | 18 |
|
|
22 | 19 | tests/test-inotify-lookup.t:0: |
|
23 | 20 | > $ kill `cat .hg/inotify.pid` |
|
24 | 21 | don't use kill, use killdaemons.py |
|
25 | 22 | tests/test-inotify.t:0: |
|
26 | 23 | > $ kill `cat ../hg2.pid` |
|
27 | 24 |
|
|
28 | 25 | tests/test-inotify.t:0: |
|
29 | 26 | > $ kill `cat hg.pid` |
|
30 | 27 | don't use kill, use killdaemons.py |
|
31 | 28 | tests/test-inotify.t:0: |
|
32 | 29 | > $ kill `cat hg3.pid` |
|
33 | 30 |
|
|
34 | 31 | tests/test-obsolete.t:0: |
|
35 | 32 | > $ kill `cat hg.pid` |
|
36 | 33 | don't use kill, use killdaemons.py |
|
37 | 34 |
|
|
38 | 35 | tests/test-serve.t:0: |
|
39 | 36 | > > kill `cat hg.pid` |
|
40 | 37 | don't use kill, use killdaemons.py |
|
41 | 38 | tests/test-serve.t:0: |
|
42 | 39 | > > kill `cat hg.pid` 2>/dev/null |
|
43 | 40 |
|
|
44 | 41 | [1] |
@@ -1,44 +1,44 b'' | |||
|
1 | 1 | |
|
2 | 2 | $ "$TESTDIR/hghave" inotify || exit 80 |
|
3 | 3 | $ hg init |
|
4 | 4 | $ touch a b c d e f |
|
5 | 5 | $ echo "[extensions]" >> $HGRCPATH |
|
6 | 6 | $ echo "inotify=" >> $HGRCPATH |
|
7 | 7 | |
|
8 | 8 | inserve |
|
9 | 9 | |
|
10 | 10 | $ hg inserve -d --pid-file=hg.pid 2>&1 |
|
11 | 11 | $ cat hg.pid >> "$DAEMON_PIDS" |
|
12 | 12 | $ hg ci -Am m |
|
13 | 13 | adding a |
|
14 | 14 | adding b |
|
15 | 15 | adding c |
|
16 | 16 | adding d |
|
17 | 17 | adding e |
|
18 | 18 | adding f |
|
19 | 19 | adding hg.pid |
|
20 | 20 | |
|
21 | 21 | let the daemon finish its stuff |
|
22 | 22 | |
|
23 | 23 | $ sleep 1 |
|
24 | 24 | |
|
25 | 25 | eed to test all file operations |
|
26 | 26 | |
|
27 | 27 | $ hg rm a |
|
28 | 28 | $ rm b |
|
29 | 29 | $ echo c >> c |
|
30 | 30 | $ touch g |
|
31 | 31 | $ hg add g |
|
32 | 32 | $ hg mv e h |
|
33 | 33 | $ hg status |
|
34 | 34 | M c |
|
35 | 35 | A g |
|
36 | 36 | A h |
|
37 | 37 | R a |
|
38 | 38 | R e |
|
39 | 39 | ! b |
|
40 | 40 | $ sleep 1 |
|
41 | 41 | |
|
42 | 42 | Are we able to kill the service? if not, the service died on some error |
|
43 | 43 | |
|
44 | $ kill `cat hg.pid` | |
|
44 | $ "$TESTDIR/killdaemons.py" hg.pid |
General Comments 0
You need to be logged in to leave comments.
Login now