Patchwork [3,of,7] tests: add line specific for testing with fsmonitor

login
register
mail settings
Submitter Katsunori FUJIWARA
Date July 2, 2017, 5:53 p.m.
Message ID <8e03783672a372061aa6.1499017997@speaknoevil>
Download mbox | patch
Permalink /patch/21919/
State Accepted
Headers show

Comments

Katsunori FUJIWARA - July 2, 2017, 5:53 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1499017959 -32400
#      Mon Jul 03 02:52:39 2017 +0900
# Node ID 8e03783672a372061aa6567e370fc28c5b7bda3b
# Parent  474893a0ab43dd6ce0857587261e42adcc489435
tests: add line specific for testing with fsmonitor

Patch

diff --git a/tests/test-hgignore.t b/tests/test-hgignore.t
--- a/tests/test-hgignore.t
+++ b/tests/test-hgignore.t
@@ -178,12 +178,17 @@  Test relative ignore path (issue4473):
 
 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)