t1710: make hash independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 28 Jun 2019 22:59:27 +0000 (22:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jul 2019 20:28:19 +0000 (13:28 -0700)
commitbfefd5202babaa1ace6b122e9df4959e3ec21e5d
tree55cf1324f4489a4cfa0f069c1499c6bbb81d4d7d
parent2e306f6c4f7408432ae1bed5e1f9978fe52b11df
t1710: make hash independent

This test uses several index hashes, which necessarily depend on the
version of the index and the hash algorithm in use.  Use test_oid_cache
to provide values for these for both SHA-1 and SHA-256.  Also, compute
an object ID and use $EMPTY_BLOB to make the remainder of the tests
independent of the hash algorithm in use.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1700-split-index.sh