1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +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:
Werner Koch 2020-09-24 10:35:05 +02:00
parent 25ad3c22d7
commit b19a60c6f7
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 38 additions and 13 deletions

View file

@ -25,5 +25,5 @@
(onebyte)
(dearmor (in-srcdir "tests" "openpgp" "samplemsgs/issue2419.asc") onebyte)
(catch (assert (string-contains? (car *error*) "invalid packet"))
(call-popen `(,@GPG --list-packets ,onebyte) "")
(call-popen `(,@GPG --log-file - --list-packets ,onebyte) "")
(fail "Expected an error but got none")))