tests/test-inotify
branchstable
changeset 9897 97eda2133a9b
parent 9896 2c2f7593ffc4
child 9900 8939900073a8
equal deleted inserted replaced
9896:2c2f7593ffc4 9897:97eda2133a9b
    18 echo "inotify=" >> $HGRCPATH
    18 echo "inotify=" >> $HGRCPATH
    19 
    19 
    20 cd repo2
    20 cd repo2
    21 echo b >> a
    21 echo b >> a
    22 # check that daemon started automatically works correctly
    22 # check that daemon started automatically works correctly
    23 hg status
    23 # and make sure that inotify.pidfile works
       
    24 hg --config "inotify.pidfile=../hg2.pid" status
       
    25 
       
    26 # make sure that pidfile worked. Output should be silent.
       
    27 kill `cat ../hg2.pid`
    24 
    28 
    25 cd ../repo1
    29 cd ../repo1
    26 echo % inserve
    30 echo % inserve
    27 hg inserve -d --pid-file=hg.pid
    31 hg inserve -d --pid-file=hg.pid
    28 cat hg.pid >> "$DAEMON_PIDS"
    32 cat hg.pid >> "$DAEMON_PIDS"