inotify: add a test for lookup bug

This commit is contained in:
Matt Mackall 2008-10-10 12:08:49 -05:00
parent 84505139dc
commit c44a262dd5
2 changed files with 19 additions and 0 deletions

18
tests/test-inotify-lookup Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
"$TESTDIR/hghave" inotify || exit 80
hg init
echo "[extensions]" > .hg/hgrc
echo "inotify=" >> .hg/hgrc
hg inserve -d --pid-file .hg/inotify.pid
echo a > a
hg ci -Aqm0
hg co -q null
hg co -q
hg st
cat a
kill `cat .hg/inotify.pid`

View File

@ -0,0 +1 @@
a