mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
Merge branch 'nk/perf-fsmonitor-cleanup'
Test fix. * nk/perf-fsmonitor-cleanup: p7519: allow running without watchman prereq
This commit is contained in:
commit
7bfa022993
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue