Show More
@@ -0,0 +1,27 | |||
|
1 | #!/bin/sh | |
|
2 | ||
|
3 | "$TESTDIR/hghave" inotify || exit 80 | |
|
4 | ||
|
5 | hg init | |
|
6 | ||
|
7 | touch a b | |
|
8 | hg add a b | |
|
9 | rm b | |
|
10 | ||
|
11 | echo % status without inotify | |
|
12 | hg st | |
|
13 | ||
|
14 | echo "[extensions]" >> $HGRCPATH | |
|
15 | echo "inotify=" >> $HGRCPATH | |
|
16 | ||
|
17 | echo % inserve | |
|
18 | hg inserve -d --pid-file=hg.pid 2>&1 | |
|
19 | cat hg.pid >> "$DAEMON_PIDS" | |
|
20 | ||
|
21 | echo % status | |
|
22 | hg st | |
|
23 | ||
|
24 | sleep 1 | |
|
25 | echo "Are we able to kill the service? if not, the service died on some error" | |
|
26 | kill `cat hg.pid` | |
|
27 |
General Comments 0
You need to be logged in to leave comments.
Login now