comparison tests/test-inotify-issue1556.t @ 12456:1f74b0d0f485

tests: unify test-inotify-issue1556
author Matt Mackall <mpm@selenic.com>
date Sun, 26 Sep 2010 13:43:21 -0500
parents tests/test-inotify-issue1556@021de2d12355
children 895d65364570
comparison
equal deleted inserted replaced
12455:92b2c876a79d 12456:1f74b0d0f485
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 $ kill `cat hg.pid`