t1512: skip test if not using SHA-1
This test relies on objects with colliding short names which are necessarily dependent on the hash used. Skip the test if we're not using SHA-1. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
0fbdb52f9e
commit
d7a2fc8249
|
|
@ -22,6 +22,12 @@ one tagged as v1.0.0. They all have one regular file each.
|
||||||
|
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
|
if ! test_have_prereq SHA1
|
||||||
|
then
|
||||||
|
skip_all='not using SHA-1 for objects'
|
||||||
|
test_done
|
||||||
|
fi
|
||||||
|
|
||||||
test_expect_success 'blob and tree' '
|
test_expect_success 'blob and tree' '
|
||||||
test_tick &&
|
test_tick &&
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue