mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Integrate --use-keyboxd into the OpenPGP test suite.
* tests/openpgp/all-tests.scm (all-tests): Replace extended-key-format mode with a new keyboxd mode. * tests/openpgp/defs.scm (create-gpghome): Ditto. * tests/openpgp/gpgv.scm: Adjust for keyboxd mode. * tests/openpgp/issue2419.scm: Fix to allow setting a log-file into gpg.conf for debugging. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
25ad3c22d7
commit
b19a60c6f7
4 changed files with 38 additions and 13 deletions
|
@ -336,6 +336,8 @@
|
|||
(create-file "pubring.gpg"))
|
||||
|
||||
(create-file "gpg.conf"
|
||||
;;"log-file socket:///tmp/S.wklog"
|
||||
;;"verbose"
|
||||
"no-greeting"
|
||||
"no-secmem-warning"
|
||||
"no-permission-warning"
|
||||
|
@ -349,14 +351,20 @@
|
|||
(string-append "agent-program "
|
||||
(tool 'gpg-agent)
|
||||
"|--debug-quick-random\n")
|
||||
(if (flag "--use-keyboxd" *args*)
|
||||
"use-keyboxd" "#use-keyboxd")
|
||||
)
|
||||
(create-file "keyboxd.conf"
|
||||
;;"log-file socket:///tmp/S.wklog"
|
||||
;;"verbose"
|
||||
;;"debug ipc"
|
||||
)
|
||||
|
||||
(create-file "gpg-agent.conf"
|
||||
"allow-preset-passphrase"
|
||||
"no-grab"
|
||||
"enable-ssh-support"
|
||||
"s2k-count 65536"
|
||||
(if (flag "--extended-key-format" *args*)
|
||||
"enable-extended-key-format" "#enable-extended-key-format")
|
||||
(string-append "pinentry-program " (tool 'pinentry))
|
||||
"disable-scdaemon"))
|
||||
|
||||
|
@ -505,5 +513,7 @@
|
|||
(set! gpg `(,@valgrind ,@gpg)))
|
||||
|
||||
|
||||
;;(set! *args* (append *args* (list "--use-keyboxd")))
|
||||
|
||||
|
||||
;; end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue