t6501: avoid hard-coded objects
commit252a4ee66aa5d0d872b14095047e605367f4d34c
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 29 Jul 2020 23:13:58 +0000 (29 23:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2020 16:16:46 +0000 (30 09:16 -0700)
tree07ed048fcd5b714e8d8dbc89daac51eda0fcf09b
parent368f3cb051cfb27b3b12715416787481ec903786
t6501: avoid hard-coded objects

This test contains hard-coded invalid object IDs.  Make it hash size
independent by generating invalid object IDs using the translation
tables.  Add a setup target to ensure the output of test_oid_init is
checked properly.

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/t6501-freshen-objects.sh