##// END OF EJS Templates
inotify: adding test for issue1556
Dmitriy Kostunin -
r8601:021de2d1 default
parent child Browse files
Show More
@@ -0,0 +1,27 b''
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
@@ -0,0 +1,9 b''
1 % status without inotify
2 A a
3 ! b
4 % inserve
5 % status
6 A a
7 ! b
8 ? hg.pid
9 Are we able to kill the service? if not, the service died on some error
General Comments 0
You need to be logged in to leave comments. Login now