aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4002-diff-basic.sh
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-13 02:24:11 +0000
committerJunio C Hamano <gitster@pobox.com>2018-05-14 11:02:00 +0900
commitd16ab63429ba7278a2ec6cd5a5905875982242eb (patch)
tree32af1f93de0b9fa9b259008b5d5bd2033fc40e97 /t/t4002-diff-basic.sh
parentccdcbd54c4475c2238b310f7113ab3075b5abc9c (diff)
downloadgit-d16ab63429ba7278a2ec6cd5a5905875982242eb.tar.gz
t/test-lib: add an SHA1 prerequisite
There are some basic tests in our codebase that test that we get fixed SHA-1 values. These are valuable because they make sure that our SHA-1 implementation is free of bugs, but obviously these tests will fail with a different hash. There are also tests which intentionally produce objects that have collisions when truncated to a certain length to test our handling of these cases. These tests, too, will fail with a different hash. Add an SHA1 prerequisite to annotate both of these types of tests and disable them when we're using a different hash. In the future, we will create versions of these tests which handle both SHA-1 and NewHash. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4002-diff-basic.sh')
0 files changed, 0 insertions, 0 deletions