Mercurial > hg
diff tests/test-tags.t @ 33428:435f63d12475
tests: avoid tests related to directory permission if running with fsmonitor
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Thu, 13 Jul 2017 03:17:59 +0900 |
parents | a25cc3ca874f |
children | 82c39a8ec3b1 |
line wrap: on
line diff
--- a/tests/test-tags.t Thu Jul 13 03:17:58 2017 +0900 +++ b/tests/test-tags.t Thu Jul 13 03:17:59 2017 +0900 @@ -118,13 +118,17 @@ And again, but now unable to write tag cache or lock file: -#if unix-permissions +#if unix-permissions no-fsmonitor + $ rm -f .hg/cache/tags2-visible .hg/cache/hgtagsfnodes1 $ chmod 555 .hg/cache $ hg identify b9154636be93 tip $ chmod 755 .hg/cache +(this block should be protected by no-fsmonitor, because "chmod 555 .hg" +makes watchman fail at accessing to files under .hg) + $ chmod 555 .hg $ hg identify b9154636be93 tip