diff options
-rwxr-xr-x | tests/openpgp/ssh.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/openpgp/ssh.scm b/tests/openpgp/ssh.scm index fe0b1150c..dfa1f5266 100755 --- a/tests/openpgp/ssh.scm +++ b/tests/openpgp/ssh.scm @@ -23,7 +23,9 @@ (if (string=? "" GNUPGHOME) (error "GNUPGHOME not set")) -(setenv "SSH_AUTH_SOCK" (path-join GNUPGHOME "S.gpg-agent.ssh") #t) +(setenv "SSH_AUTH_SOCK" + (call-check `(,(tool 'gpgconf) --null --list-dirs agent-ssh-socket)) + #t) (define SSH-ADD #f) (catch (skip "ssh-add not found") |