]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0000-basic.sh
t0000: update tests for SHA-256
authorbrian m. carlson <sandals@crustytoothpaste.net>
Thu, 13 Sep 2018 05:17:33 +0000 (05:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Sep 2018 21:15:24 +0000 (14:15 -0700)
commite483e1441a6ed060c8965f4ab555ec5a5b4bf8c3
tree3b01b29c7e2831e1e1209da3f3dceee9bf5e8eb5
parentcdd1e17f87105dcb828f3e79cec14fcdc5073e46
t0000: update tests for SHA-256

Test t0000 tests the "basics of the basics" and as such, checks that we
have various fixed hard-coded object IDs.  The tests relying on these
assertions have been marked with the SHA1 prerequisite, as they will
obviously not function in their current form with SHA-256.

Use the test_oid helper to update these assertions and provide values
for both SHA-1 and SHA-256.

These object IDs were synthesized using a set of scripts that created
the objects for both SHA-1 and SHA-256 using the same method to ensure
that they are indeed the correct values.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0000-basic.sh