Skip to content

Commit 6c2adf8

Browse files
bk2204gitster
authored andcommitted
t0410: mark test with SHA1 prerequisite
These tests try to check that we behave properly if we encounter a repository with version 0 but an extension. This is a laudable goal, but the test cannot work with SHA-256, since SHA-256 repositories always have an existing extension and are never version 0. Add a SHA1 prerequisite to these tests. Signed-off-by: brian m. carlson <[email protected]> Reviewed-by: Eric Sunshine <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent de5737c commit 6c2adf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t0410-partial-clone.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test_expect_success 'convert shallow clone to partial clone' '
4242
test_cmp_config -C client 1 core.repositoryformatversion
4343
'
4444

45-
test_expect_success 'convert to partial clone with noop extension' '
45+
test_expect_success SHA1 'convert to partial clone with noop extension' '
4646
rm -fr server client &&
4747
test_create_repo server &&
4848
test_commit -C server my_commit 1 &&
@@ -53,7 +53,7 @@ test_expect_success 'convert to partial clone with noop extension' '
5353
git -C client fetch --unshallow --filter="blob:none"
5454
'
5555

56-
test_expect_success 'converting to partial clone fails with unrecognized extension' '
56+
test_expect_success SHA1 'converting to partial clone fails with unrecognized extension' '
5757
rm -fr server client &&
5858
test_create_repo server &&
5959
test_commit -C server my_commit 1 &&

0 commit comments

Comments
 (0)