tests/test-inotify-issue1556.t
branchstable
changeset 21160 564f55b25122
parent 21028 a0f437e2f5a9
parent 21159 024f38f6d5f6
child 21161 ef59019f4771
equal deleted inserted replaced
21028:a0f437e2f5a9 21160:564f55b25122
     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   $ "$TESTDIR/killdaemons.py" hg.pid