changeset 12451 | 17ebf11bff81 |
parent 12450 | 0fcdae13493b |
child 12452 | f727db60abb4 |
12450:0fcdae13493b | 12451:17ebf11bff81 |
---|---|
1 #!/bin/sh |
|
2 |
|
3 "$TESTDIR/hghave" inotify || exit 80 |
|
4 |
|
5 hg init |
|
6 |
|
7 echo "[extensions]" >> $HGRCPATH |
|
8 echo "inotify=" >> $HGRCPATH |
|
9 |
|
10 echo % inserve |
|
11 hg inserve -d --pid-file=hg.pid |
|
12 cat hg.pid >> "$DAEMON_PIDS" |
|
13 |
|
14 # let the daemon finish its stuff |
|
15 sleep 1 |
|
16 |
|
17 echo % empty |
|
18 hg debuginotify |
|
19 |
|
20 mkdir a |
|
21 sleep 1 |
|
22 |
|
23 echo % only 'a' |
|
24 hg debuginotify |
|
25 |
|
26 rmdir a |
|
27 sleep 1 |
|
28 |
|
29 echo % empty again |
|
30 hg debuginotify |
|
31 |
|
32 kill `cat hg.pid` |