t3008: skip lazy-init test on a single-core box
commit845eec2b64d6a064ee7b453a77a309a419806896
authorKevin Willford <kewillf@microsoft.com>
Mon, 3 Apr 2017 15:16:42 +0000 (3 15:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Apr 2017 06:24:36 +0000 (12 23:24 -0700)
tree765e25621c799fd4cf57ad1baaf386aad53ae472
parente3482ccf27b8278289f899cbb294696389a9e1c8
t3008: skip lazy-init test on a single-core box

The lazy-init codepath will not be exercised uniless threaded.  Skip
the entire test on a single-core box.  Also replace a hard-coded
constant of 2000 (number of cache entries to manifacture for tests)
with a variable with a human readable name.

Signed-off-by: Kevin Willford <kewillf@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3008-ls-files-lazy-init-name-hash.sh