equal
deleted
inserted
replaced
1 |
|
2 $ "$TESTDIR/hghave" inotify || exit 80 |
|
3 $ hg init |
|
4 $ touch a b |
|
5 $ hg add a b |
|
6 $ rm b |
|
7 |
|
8 status without inotify |
|
9 |
|
10 $ hg st |
|
11 A a |
|
12 ! b |
|
13 $ echo "[extensions]" >> $HGRCPATH |
|
14 $ echo "inotify=" >> $HGRCPATH |
|
15 |
|
16 inserve |
|
17 |
|
18 $ hg inserve -d --pid-file=hg.pid 2>&1 |
|
19 $ cat hg.pid >> "$DAEMON_PIDS" |
|
20 |
|
21 status |
|
22 |
|
23 $ hg st |
|
24 A a |
|
25 ! b |
|
26 ? hg.pid |
|
27 $ sleep 1 |
|
28 |
|
29 Are we able to kill the service? if not, the service died on some error |
|
30 |
|
31 $ "$TESTDIR/killdaemons.py" hg.pid |
|