Skip to content

Commit 52b56e8

Browse files
committed
Merge branch 'ps/t7528-ssh-agent-uds-workaround'
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
2 parents 7d763b9 + b7fb219 commit 52b56e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7528-signed-commit-ssh.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ test_expect_success GPGSSH 'create signed commits' '
8282
test_expect_success GPGSSH 'sign commits using literal public keys with ssh-agent' '
8383
test_when_finished "test_unconfig commit.gpgsign" &&
8484
test_config gpg.format ssh &&
85-
eval $(ssh-agent) &&
85+
eval $(ssh-agent -T || ssh-agent) &&
8686
test_when_finished "kill ${SSH_AGENT_PID}" &&
8787
test_when_finished "test_unconfig user.signingkey" &&
8888
mkdir tmpdir &&

0 commit comments

Comments
 (0)