This is an additional series of fixes for tests to make them work with
SHA-256.
This series makes use of several constants, such as $ZERO_OID, which
will be replaced with appropriate values based on "test_oid" with later
work.
There is one test (t1410) which adds an SHA1 prerequisite. I wasn't able
to get the math to work out when trying to compute the proper values for
SHA-256, and the test doesn't test what it's supposed to test without
changes, so I opted to mark it with a prerequisite. Suggestions on how
to make it functionally useful under SHA-256 would be appreciated.
brian m. carlson (10):
t: add helper to convert object IDs to paths
t1410: make hash size independent
t1450: make hash size independent
t5000: make hash independent
t6030: make test work with SHA-256
t0027: make hash size independent
t0090: make test pass with SHA-256
t1007: remove SHA1 prerequisites
t1710: make hash independent
t2203: avoid hard-coded object ID values
t/t0027-auto-crlf.sh | 6 +-
t/t0090-cache-tree.sh | 4 +-
t/t1007-hash-object.sh | 58 ++++++++++--------
t/t1410-reflog.sh | 16 ++---
t/t1450-fsck.sh | 41 ++++++++-----
t/t1700-split-index.sh | 51 ++++++++++-----
t/t2203-add-intent.sh | 6 +-
t/t5000-tar-tree.sh | 16 +++--
...8938e6999cb59b3ff66739902a => huge-object} | Bin
t/t6030-bisect-porcelain.sh | 31 +++++-----
t/test-lib-functions.sh | 6 ++
11 files changed, 142 insertions(+), 93 deletions(-)
rename t/t5000/{19f9c8273ec45a8938e6999cb59b3ff66739902a => huge-object} (100%)