From: Junio C Hamano <gitster@pobox.com> Date: Fri, 19 Oct 2018 04:34:03 +0000 (+0900) Subject: Merge branch 'bp/rename-test-env-var' X-Git-Tag: v2.20.0-rc0~162 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/340fde61bea189b87268aa20581e243deb744577 Merge branch 'bp/rename-test-env-var' Some environment variables that control the runtime options of Git used during tests are getting renamed for consistency. * bp/rename-test-env-var: t0000: do not get self-test disrupted by environment warnings preload-index: update GIT_FORCE_PRELOAD_TEST support read-cache: update TEST_GIT_INDEX_VERSION support fsmonitor: update GIT_TEST_FSMONITOR support preload-index: use git_env_bool() not getenv() for customization t/README: correct spelling of "uncommon" --- 340fde61bea189b87268aa20581e243deb744577 diff --cc t/README index 4d8dbc7c5f,5670c7aad0..d8b04c35c0 --- a/t/README +++ b/t/README @@@ -319,14 -319,17 +319,25 @@@ GIT_TEST_OE_DELTA_SIZE=<n> exercises th path where deltas larger than this limit require extra memory allocation for bookkeeping. +GIT_TEST_VALIDATE_INDEX_CACHE_ENTRIES=<boolean> checks that cache-tree +records are valid when the index is written out or after a merge. This +is mostly to catch missing invalidation. Default is true. + +GIT_TEST_COMMIT_GRAPH=<boolean>, when true, forces the commit-graph to +be written after every 'git commit' command, and overrides the +'core.commitGraph' setting to true. + + GIT_TEST_FSMONITOR=$PWD/t7519/fsmonitor-all exercises the fsmonitor + code path for utilizing a file system monitor to speed up detecting + new or changed files. + + GIT_TEST_INDEX_VERSION=<n> exercises the index read/write code path + for the index version specified. Can be set to any valid version + (currently 2, 3, or 4). + + GIT_TEST_PRELOAD_INDEX=<boolean> exercises the preload-index code path + by overriding the minimum number of cache entries required per thread. + Naming Tests ------------