Skip to content

Commit 2970d73

Browse files
committed
get: Disable commit.gpgsign in git-repo test
Without this, if the user has `commit.gpgsign` set to `true`, creating the test repo in the "get/git-repo: use the real git to create and clone a repo" test case will produce "You need a passphrase to unlock the secret key" messages.
1 parent 41d8ba4 commit 2970d73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/get/git-repo.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ teardown() {
7272
git init
7373
git config user.email 'mbland@example.com'
7474
git config user.name 'Mike Bland'
75+
git config commit.gpgsign false
7576
printf '# This is a test\n' >README.md
7677
git add README.md
7778
git commit -m 'Initial commit'

0 commit comments

Comments
 (0)