]> git.ipfire.org Git - thirdparty/git.git/commit - t/t6500-gc.sh
t6500: specify test values for SHA-256
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:13:57 +0000 (23:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:46 +0000 (09:16 -0700)
commit368f3cb051cfb27b3b12715416787481ec903786
treed52d40c43355c651d3c5df73278a3ba3d548de67
parentabe3db14cba119d8a91e40f1f77233d6a9c8037b
t6500: specify test values for SHA-256

In this test, we want to produce several blobs whose first two hex
characters are "17", since we look at this object directory as a proxy
for how many loose objects there are before we need to GC.  Use
test_oid_cache to specify strings that will hash to the right values
when turned into blobs.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Reviewed-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6500-gc.sh