##// END OF EJS Templates
merge with stable
merge with stable

File last commit:

r6997:9c4e488f default
r10244:c4c0502b merge default
Show More
test-inotify-issue1208
24 lines | 427 B | text/plain | TextLexer
/ tests / test-inotify-issue1208
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 #!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
echo "[extensions]" >> $HGRCPATH
echo "inotify=" >> $HGRCPATH
p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
hg init $p
cd $p
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 echo % fail
ln -sf doesnotexist .hg/inotify.sock
hg st
hg inserve
rm .hg/inotify.sock
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % inserve
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997 hg inserve -d --pid-file=hg.pid
cat hg.pid >> "$DAEMON_PIDS"
Benoit Boissinot
inotify: deactivate inotify status on failure...
r6996 echo % status
hg status
Benoit Boissinot
inotify: workaround ENAMETOOLONG by using symlinks...
r6997
kill `cat hg.pid`