mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +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)
|
(if (string=? "" GNUPGHOME)
|
||||||
(error "GNUPGHOME not set"))
|
(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)
|
(define SSH-ADD #f)
|
||||||
(catch (skip "ssh-add not found")
|
(catch (skip "ssh-add not found")
|
||||||
|
Loading…
Reference in New Issue
Block a user