summaryrefslogtreecommitdiff
path: root/tests/test-inotify-lookup.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-inotify-lookup.t')
-rw-r--r--tests/test-inotify-lookup.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test-inotify-lookup.t b/tests/test-inotify-lookup.t
new file mode 100644
index 0000000..c5fca69
--- /dev/null
+++ b/tests/test-inotify-lookup.t
@@ -0,0 +1,14 @@
+
+ $ "$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
+ a
+ $ kill `cat .hg/inotify.pid`