mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
tests: Use gpgconf to set the ssh socket envvar.
* tests/openpgp/ssh.scm ("SSH_AUTH_SOCK"): Use gpgconf. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
db6f3eb926
commit
0c2a745a2b
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user