diff mbox series

[v2,28/39] t0410: mark test with SHA1 prerequisite

Message ID 20200713024909.3714837-29-sandals@crustytoothpaste.net (mailing list archive)
State New, archived
Headers show
Series SHA-256, part 3/3 | expand

Commit Message

brian m. carlson July 13, 2020, 2:48 a.m. UTC
This test tries to check that we fail 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.  Consequently, even if we
removed the check for format version 0, we'd still fail because it's
completely acceptable to add extensions to a format version 1
repository.

Add a SHA1 prerequisite to this test.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
---
 t/t0410-partial-clone.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/t/t0410-partial-clone.sh b/t/t0410-partial-clone.sh
index 463dc3a8be..cdd4efb57f 100755
--- a/t/t0410-partial-clone.sh
+++ b/t/t0410-partial-clone.sh
@@ -42,7 +42,7 @@  test_expect_success 'convert shallow clone to partial clone' '
 	test_cmp_config -C client 1 core.repositoryformatversion
 '
 
-test_expect_success 'convert shallow clone to partial clone must fail with any extension' '
+test_expect_success SHA1 'convert shallow clone to partial clone must fail with any extension' '
 	rm -fr server client &&
 	test_create_repo server &&
 	test_commit -C server my_commit 1 &&