aboutsummaryrefslogtreecommitdiffstats
path: root/tests/openpgp/all-tests.scm
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-09-24 08:35:05 +0000
committerWerner Koch <[email protected]>2020-09-24 08:37:42 +0000
commitb19a60c6f7e892635db9e22499a7a44087c86c41 (patch)
tree1f3a7859eb61c8bfff903d1f07747d83ec655feb /tests/openpgp/all-tests.scm
parentkeyboxd: Implement multiple search descriptions. (diff)
downloadgnupg-b19a60c6f7e892635db9e22499a7a44087c86c41.tar.gz
gnupg-b19a60c6f7e892635db9e22499a7a44087c86c41.zip
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 <[email protected]>
Diffstat (limited to 'tests/openpgp/all-tests.scm')
-rw-r--r--tests/openpgp/all-tests.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/tests/openpgp/all-tests.scm b/tests/openpgp/all-tests.scm
index e12b175b9..046012cfa 100644
--- a/tests/openpgp/all-tests.scm
+++ b/tests/openpgp/all-tests.scm
@@ -45,7 +45,7 @@
(string-append "--" variant))))
(define setup-use-keyring (setup* "use-keyring"))
- (define setup-extended-key-format (setup* "extended-key-format"))
+ (define setup-use-keyboxd (setup* "use-keyboxd"))
(define all-tests
(parse-makefile-expand "Makefile"
@@ -55,24 +55,27 @@
(define tests
(map (lambda (name)
(test::scm setup
- (path-join "tests" "openpgp" name)
+ (qualify (path-join "tests" "openpgp" name) "standard")
(in-srcdir "tests" "openpgp" name))) all-tests))
(when *run-all-tests*
(set! tests
(append
tests
+ ;; The second pass uses the keyboxd
(map (lambda (name)
- (test::scm setup-use-keyring
+ (test::scm setup-use-keyboxd
(qualify (path-join "tests" "openpgp" name)
- "use-keyring")
+ "keyboxd")
(in-srcdir "tests" "openpgp" name)
- "--use-keyring")) all-tests)
+ "--use-keyboxd")) all-tests)
+ ;; The third pass uses the legact pubring.gpg
(map (lambda (name)
- (test::scm setup-extended-key-format
+ (test::scm setup-use-keyring
(qualify (path-join "tests" "openpgp" name)
- "extended-key-format")
+ "keyring")
(in-srcdir "tests" "openpgp" name)
- "--extended-key-format")) all-tests))))
+ "--use-keyring")) all-tests)
+ )))
tests)