diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-01-16 02:20:29 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-16 02:20:29 +0300 |
commit | 7bfa0229936e88254de15e967ac09dbac50d7899 (patch) | |
tree | 4c7d191ea7d03a7da080f6df5ccb9d5f0918a7b3 | |
parent | 02feca721eaf008c54d497d884232bd0c144edbb (diff) | |
parent | cc2d43be2bc93f7016ee97b8d78a79d771e017e4 (diff) |
Merge branch 'nk/perf-fsmonitor-cleanup'
Test fix.
* nk/perf-fsmonitor-cleanup:
p7519: allow running without watchman prereq
-rwxr-xr-x | t/perf/p7519-fsmonitor.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/t/perf/p7519-fsmonitor.sh b/t/perf/p7519-fsmonitor.sh index 9b43342806..1e20a184c7 100755 --- a/t/perf/p7519-fsmonitor.sh +++ b/t/perf/p7519-fsmonitor.sh @@ -129,7 +129,12 @@ setup_for_fsmonitor() { git config core.fsmonitor "$INTEGRATION_SCRIPT" && git update-index --fsmonitor 2>error && - test_must_be_empty error # ensure no silent error + if test_have_prereq WATCHMAN + then + test_must_be_empty error # ensure no silent error + else + grep "Empty last update token" error + fi } test_perf_w_drop_caches () { |