Re: [PATCH v4 00/28] Hash-independent tests

2018-05-21 Thread brian m. carlson
On Mon, May 21, 2018 at 09:17:39AM -0400, Ben Peart wrote: > Do you plan to update those tests that hard code the SHA of the index file > itself? For example, t1700-split-index.sh has hard coded values for the SHA > and currently only supports different hard coded values for V4 indexes vs >

Re: [PATCH v4 00/28] Hash-independent tests

2018-05-21 Thread Ben Peart
On 5/20/2018 10:01 PM, brian m. carlson wrote: This is part 2 in the series to make tests hash independent. Do you plan to update those tests that hard code the SHA of the index file itself? For example, t1700-split-index.sh has hard coded values for the SHA and currently only supports

[PATCH v4 00/28] Hash-independent tests

2018-05-20 Thread brian m. carlson
This is part 2 in the series to make tests hash independent. This series introduces an SHA1 prerequisite which checks if the hash in use is SHA-1, and can be used to skip the test if it is not. Additionally, because NewHash will be 256-bit, I introduced aliases for the test constants $_x40 and