summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-02-05 16:31:22 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-05 16:31:22 -0800
commite93f5c6878107eb2c468bdf00d53b19a6e8eae2f (patch)
tree0529ec30b3a97387c6c6d4a6c8e934d5bc556153 /t
parentMerge branch 'rs/rebase-commit-validation' into maint (diff)
parentp7519: allow running without watchman prereq (diff)
downloadtgif-e93f5c6878107eb2c468bdf00d53b19a6e8eae2f.tar.xz
Merge branch 'nk/perf-fsmonitor-cleanup' into maint
Test fix. * nk/perf-fsmonitor-cleanup: p7519: allow running without watchman prereq
Diffstat (limited to 't')
-rwxr-xr-xt/perf/p7519-fsmonitor.sh7
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 () {