Skip to content

Commit 54087dd

Browse files
pks-tgitster
authored andcommitted
t0410: mark tests to require the reffiles backend
Two of our tests in t0410 verify whether partial clones end up with the correct repository format version and extensions. These checks require the reffiles backend because every other backend would by necessity bump the repository format version to be at least 1. Mark the tests accordingly. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 564d025 commit 54087dd

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
@@ -49,7 +49,7 @@ test_expect_success 'convert shallow clone to partial clone' '
4949
test_cmp_config -C client 1 core.repositoryformatversion
5050
'
5151

52-
test_expect_success SHA1 'convert to partial clone with noop extension' '
52+
test_expect_success SHA1,REFFILES 'convert to partial clone with noop extension' '
5353
rm -fr server client &&
5454
test_create_repo server &&
5555
test_commit -C server my_commit 1 &&
@@ -60,7 +60,7 @@ test_expect_success SHA1 'convert to partial clone with noop extension' '
6060
git -C client fetch --unshallow --filter="blob:none"
6161
'
6262

63-
test_expect_success SHA1 'converting to partial clone fails with unrecognized extension' '
63+
test_expect_success SHA1,REFFILES 'converting to partial clone fails with unrecognized extension' '
6464
rm -fr server client &&
6565
test_create_repo server &&
6666
test_commit -C server my_commit 1 &&

0 commit comments

Comments
 (0)