mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Merge branch 'ps/t7528-ssh-agent-uds-workaround' into maint-2.51
Recent OpenSSH creates the Unix domain socket to communicate with ssh-agent under $HOME instead of /tmp, which causes our test to fail doe to overly long pathname in our test environment, which has been worked around by using "ssh-agent -T". * ps/t7528-ssh-agent-uds-workaround: t7528: work around ETOOMANY in OpenSSH 10.1 and newer
This commit is contained in:
@@ -82,7 +82,7 @@ test_expect_success GPGSSH 'create signed commits' '
|
||||
test_expect_success GPGSSH 'sign commits using literal public keys with ssh-agent' '
|
||||
test_when_finished "test_unconfig commit.gpgsign" &&
|
||||
test_config gpg.format ssh &&
|
||||
eval $(ssh-agent) &&
|
||||
eval $(ssh-agent -T || ssh-agent) &&
|
||||
test_when_finished "kill ${SSH_AGENT_PID}" &&
|
||||
test_when_finished "test_unconfig user.signingkey" &&
|
||||
mkdir tmpdir &&
|
||||
|
||||
Reference in New Issue
Block a user