t: add basic tests for our SHA-1 implementation
commit9a3a0ff5374f07d60eea01bbbe9a399d1f325280
authorbrian m. carlson <sandals@crustytoothpaste.net>
Wed, 14 Nov 2018 04:09:31 +0000 (14 04:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 07:54:52 +0000 (14 16:54 +0900)
treed4b553369ea87874045e7a70cce428097456e0dc
parent0dab7129ab122d7ac5249fc7f6890302f29cd9e7
t: add basic tests for our SHA-1 implementation

We have in the past had some unfortunate endianness issues with some
SHA-1 implementations we ship, especially on big-endian machines.  Add
an explicit test using the test helper to catch these issues and point
them out prominently.  This test can also be used as a staging ground
for people testing additional algorithms to verify that their
implementations are working as expected.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0015-hash.sh [new file with mode: 0755]