mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
inotify: add a test for lookup bug
This commit is contained in:
parent
84505139dc
commit
c44a262dd5
18
tests/test-inotify-lookup
Normal file
18
tests/test-inotify-lookup
Normal 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`
|
||||
|
1
tests/test-inotify-lookup.out
Normal file
1
tests/test-inotify-lookup.out
Normal file
@ -0,0 +1 @@
|
||||
a
|
Loading…
Reference in New Issue
Block a user