diff --git a/tests/test-inotify-lookup b/tests/test-inotify-lookup new file mode 100644 --- /dev/null +++ b/tests/test-inotify-lookup @@ -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` + diff --git a/tests/test-inotify-lookup.out b/tests/test-inotify-lookup.out new file mode 100644 --- /dev/null +++ b/tests/test-inotify-lookup.out @@ -0,0 +1,1 @@ +a