]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t3200: mark assertion with SHA1 prerequisite
authorbrian m. carlson <sandals@crustytoothpaste.net>
Mon, 25 May 2020 19:59:09 +0000 (19:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2020 17:07:06 +0000 (10:07 -0700)
One of the test assertions in this test checks that git branch -m works
even without a .git/config file.  However, if the repository requires
configuration extensions, such as because it uses a non-SHA-1 algorithm,
this assertion will fail.  Mark the assertion as requiring SHA-1.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh

index 411a70b0ce966f196b516053f2b1ea35ad03bef2..2a3fedc6b0f1f6b6ca02c44360ef8f91b5ebf381 100755 (executable)
@@ -402,7 +402,7 @@ EOF
 
 mv .git/config .git/config-saved
 
-test_expect_success 'git branch -m q q2 without config should succeed' '
+test_expect_success SHA1 'git branch -m q q2 without config should succeed' '
        git branch -m q q2 &&
        git branch -m q2 q
 '