# HG changeset patch # User FUJIWARA Katsunori # Date 2017-07-02 17:52:39 # Node ID 7367b76ef75c349a2bdae076ddc6ac66cf491bca # Parent 0bec70c1df15af2da10d71d70e45a9cfeff79ff1 tests: add line specific for testing with fsmonitor 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)