changeset 33214:7367b76ef75c

tests: add line specific for testing with fsmonitor
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Mon, 03 Jul 2017 02:52:39 +0900
parents 0bec70c1df15
children b7f6885cb055
files tests/test-hgignore.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-hgignore.t	Mon Jul 03 02:52:39 2017 +0900
+++ b/tests/test-hgignore.t	Mon Jul 03 02:52:39 2017 +0900
@@ -178,12 +178,17 @@
 
 Check patterns that match only the directory
 
+"(fsmonitor !)" below assumes that fsmonitor is enabled with
+"walk_on_invalidate = false" (default), which doesn't involve
+re-walking whole repository at detection of .hgignore change.
+
   $ echo "^dir\$" > .hgignore
   $ hg status
   A dir/b.o
   ? .hgignore
   ? a.c
   ? a.o
+  ? dir/c.o (fsmonitor !)
   ? syntax
 
 Check recursive glob pattern matches no directories (dir/**/c.o matches dir/c.o)