]> git.ipfire.org Git - thirdparty/git.git/commit
t6301: make hash size independent
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:13:56 +0000 (23:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:46 +0000 (09:16 -0700)
commitabe3db14cba119d8a91e40f1f77233d6a9c8037b
tree9a940874222b26301d909b06a338056df1ac6517
parent08fbc5d0b2cae442e167f5a9bfdca7a80083ff79
t6301: make hash size independent

Instead of hard-coding a fixed length example object ID in the test,
compute one using the translation tables.  Move a variable into the
setup block so that we can ensure the exit status of test_oid is
checked.

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/t6301-for-each-ref-errors.sh