diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2021-02-03 15:34:41 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-16 17:14:34 -0800 |
commit | 0917763d67b99c22d980a10e94102047cc4e9a73 (patch) | |
tree | 8d9794c175d6400b1de18ab5a33b56b01c30e843 /t/t1510-repo-setup.sh | |
parent | p7519: do not rely on "xargs -d" in test (diff) | |
download | tgif-0917763d67b99c22d980a10e94102047cc4e9a73.tar.xz |
p7519: fix watchman watch-list test on Windows
Only use the final portion of the test trash directory file name
when verifying that Watchman was started.
On Windows and under the SDK, $GIT_WORKTREE is a cygwin-style
path with forward slashes and a "/c/" drive name. However
`watchman watch-list` reports a proper Windows-style pathname
with drive letters and backslashes. This causes the grep to
fail. Since we don't really care about the full pathname (and
we really don't want to bother with normalizaing them), just see
if the test-name portion of the path is found.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1510-repo-setup.sh')
0 files changed, 0 insertions, 0 deletions