[PATCH v2 23/44] t3200: mark assertion with SHA1 prerequisite
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- May 25, 2020, 19:59 UTC
- Message-ID
- <20200525195930.309665-24-sandals@crustytoothpaste.net>
- In-Reply-To
- <20200525195930.309665-1-sandals@crustytoothpaste.net>
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> --- t/t3200-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 411a70b0ce..2a3fedc6b0 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -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 '