summaryrefslogtreecommitdiff
path: root/t/t5309-pack-delta-cycles.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-02-17 21:22:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-17 21:22:16 (GMT)
commit5af345a4388630b422a53fecfcc48b33e2439380 (patch)
treeb4871714826696ab05073df1d1083d55583bbfc4 /t/t5309-pack-delta-cycles.sh
parent0460c109c3c791ccc4860871022f2ca566a6a255 (diff)
parentf3037657e8431073f0b240691877ca32baa142eb (diff)
downloadgit-5af345a4388630b422a53fecfcc48b33e2439380.zip
git-5af345a4388630b422a53fecfcc48b33e2439380.tar.gz
git-5af345a4388630b422a53fecfcc48b33e2439380.tar.bz2
Merge branch 'bc/hash-independent-tests-part-8'
Preparation for SHA-256 migration continues. * bc/hash-independent-tests-part-8: (21 commits) t6024: update for SHA-256 t6006: make hash size independent t6000: abstract away SHA-1-specific constants t5703: make test work with SHA-256 t5607: make hash size independent t5318: update for SHA-256 t5515: make test hash independent t5321: make test hash independent t5313: make test hash independent t5309: make test hash independent t5302: make hash size independent t4060: make test work with SHA-256 t4211: add test cases for SHA-256 t4211: move SHA-1-specific test cases into a directory t4013: make test hash independent t3311: make test work with SHA-256 t3310: make test work with SHA-256 t3309: make test work with SHA-256 t3308: make test work with SHA-256 t3206: make hash size independent ...
Diffstat (limited to 't/t5309-pack-delta-cycles.sh')
-rwxr-xr-xt/t5309-pack-delta-cycles.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/t/t5309-pack-delta-cycles.sh b/t/t5309-pack-delta-cycles.sh
index 6c209ad..55b7876 100755
--- a/t/t5309-pack-delta-cycles.sh
+++ b/t/t5309-pack-delta-cycles.sh
@@ -4,15 +4,9 @@ test_description='test index-pack handling of delta cycles in packfiles'
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-pack.sh
-if ! test_have_prereq SHA1
-then
- skip_all='not using SHA-1 for objects'
- test_done
-fi
-
# Two similar-ish objects that we have computed deltas between.
-A=01d7713666f4de822776c7622c10f1b07de280dc
-B=e68fe8129b546b101aee9510c5328e7f21ca1d18
+A=$(test_oid packlib_7_0)
+B=$(test_oid packlib_7_76)
# double-check our hand-constucted packs
test_expect_success 'index-pack works with a single delta (A->B)' '