test-inotify-issue1208
24 lines
| 427 B
| text/plain
|
TextLexer
/ tests / test-inotify-issue1208
Benoit Boissinot
|
r6996 | #!/bin/sh | ||
"$TESTDIR/hghave" inotify || exit 80 | ||||
echo "[extensions]" >> $HGRCPATH | ||||
echo "inotify=" >> $HGRCPATH | ||||
p="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | ||||
hg init $p | ||||
cd $p | ||||
Benoit Boissinot
|
r6997 | echo % fail | ||
ln -sf doesnotexist .hg/inotify.sock | ||||
hg st | ||||
hg inserve | ||||
rm .hg/inotify.sock | ||||
Benoit Boissinot
|
r6996 | echo % inserve | ||
Benoit Boissinot
|
r6997 | hg inserve -d --pid-file=hg.pid | ||
cat hg.pid >> "$DAEMON_PIDS" | ||||
Benoit Boissinot
|
r6996 | echo % status | ||
hg status | ||||
Benoit Boissinot
|
r6997 | |||
kill `cat hg.pid` | ||||