t4211: add test cases for SHA-256
commitdfa5f53e78ba80bb727a309ff90d7dbd83c7750c
authorbrian m. carlson <sandals@crustytoothpaste.net>
Fri, 7 Feb 2020 00:52:42 +0000 (7 00:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:07:30 +0000 (7 11:07 -0800)
tree7cb79c5b3e7bc0deb3b7951bc19ff94859b33036
parentf743e8f5b35512f0e132e10df8f4519fdd4970d6
t4211: add test cases for SHA-256

There are already files containing example output for SHA-1.  Add test
files providing example output for SHA-256 as well and adjust the test
to look up the appropriate ones based on the algorithm in use.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
14 files changed:
t/t4211-line-log.sh
t/t4211/sha256/expect.beginning-of-file [new file with mode: 0644]
t/t4211/sha256/expect.end-of-file [new file with mode: 0644]
t/t4211/sha256/expect.move-support-f [new file with mode: 0644]
t/t4211/sha256/expect.multiple [new file with mode: 0644]
t/t4211/sha256/expect.multiple-overlapping [new file with mode: 0644]
t/t4211/sha256/expect.multiple-superset [new file with mode: 0644]
t/t4211/sha256/expect.parallel-change-f-to-main [new file with mode: 0644]
t/t4211/sha256/expect.simple-f [new file with mode: 0644]
t/t4211/sha256/expect.simple-f-to-main [new file with mode: 0644]
t/t4211/sha256/expect.simple-main [new file with mode: 0644]
t/t4211/sha256/expect.simple-main-to-end [new file with mode: 0644]
t/t4211/sha256/expect.two-ranges [new file with mode: 0644]
t/t4211/sha256/expect.vanishes-early [new file with mode: 0644]