comparison tests/test-inotify-issue1556 @ 8601:021de2d12355

inotify: adding test for issue1556
author Dmitriy Kostunin <dmitriy.kostunin@gmail.com>
date Tue, 31 Mar 2009 00:04:07 +0900
parents
children
comparison
equal deleted inserted replaced
8600:d46cdfcecaf1 8601:021de2d12355
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