tests/test-inotify-issue1208.t
changeset 12453 b98d931482e6
parent 6997 9c4e488f105e
child 12650 fed4bb2c8def
equal deleted inserted replaced
12452:f727db60abb4 12453:b98d931482e6
       
     1 
       
     2   $ "$TESTDIR/hghave" inotify || exit 80
       
     3   $ echo "[extensions]" >> $HGRCPATH
       
     4   $ echo "inotify=" >> $HGRCPATH
       
     5   $ p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       
     6   $ hg init $p
       
     7   $ cd $p
       
     8 
       
     9 fail
       
    10 
       
    11   $ ln -sf doesnotexist .hg/inotify.sock
       
    12   $ hg st
       
    13   abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink
       
    14   inotify-client: could not start inotify server: child process failed to start
       
    15   $ hg inserve
       
    16   abort: inotify-server: cannot start: .hg/inotify.sock is a broken symlink
       
    17   [255]
       
    18   $ rm .hg/inotify.sock
       
    19 
       
    20 inserve
       
    21 
       
    22   $ hg inserve -d --pid-file=hg.pid
       
    23   $ cat hg.pid >> "$DAEMON_PIDS"
       
    24 
       
    25 status
       
    26 
       
    27   $ hg status
       
    28   ? hg.pid
       
    29   $ kill `cat hg.pid`