mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 07:28:38 +00:00
The -T arg is new so fall back to old where it fails, which should be fine as older openssh had different behaviour. Closes: https://bugs.gentoo.org/964608 Signed-off-by: Sam James <sam@gentoo.org>
14 lines
665 B
Diff
14 lines
665 B
Diff
https://bugs.gentoo.org/964608
|
|
(Tangentially: https://bugs.debian.org/1118288)
|
|
https://lore.kernel.org/git/4e2952e512afc780b621d2c153b3e6e4eb7ed89a.camel@xry111.site/
|
|
--- a/t/t7528-signed-commit-ssh.sh
|
|
+++ b/t/t7528-signed-commit-ssh.sh
|
|
@@ -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 &&
|