t5562: pass object-format in synthesized test data
commit9dc78c20dc2aa5ed073a95dc35880d940658a5be
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 25 May 2020 19:59:06 +0000 (25 19:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:07:06 +0000 (27 10:07 -0700)
treee50d1e7aa0e58e8ed66b31857d7905c4e4f9a561
parentb65dc2cebd6ac7d869895297ed5061af15428544
t5562: pass object-format in synthesized test data

Ensure that we pass the object-format capability in the synthesized test
data so that this test works with algorithms other than SHA-1.

In addition, add an additional test using the old data for when we're
using SHA-1 so that we can be sure that we preserve backwards
compatibility with servers not offering the object-format capability.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5562-http-backend-content-length.sh