diff options
author | Werner Koch <wk@gnupg.org> | 2020-09-23 16:27:57 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2020-09-24 10:37:41 +0200 |
commit | 97798eec4b77470b3aecdbee9729fa76b8550dfe (patch) | |
tree | b2204353c6b94c3fb9f5c50006c81d45fad9ae0b | |
parent | keyboxd: Remove unused variables. (diff) | |
download | gnupg2-97798eec4b77470b3aecdbee9729fa76b8550dfe.tar.xz gnupg2-97798eec4b77470b3aecdbee9729fa76b8550dfe.zip |
tests: Fix convenience function to run gpg.
* tests/openpgp/defs.scm (pipe:gpg): Remove stray dash.
--
The extra dash is problematic at export and import because this does
not export a single key as intended by the tests but does two key
lookups where the second fails because that userid is always "-". For
the current keyring and keybox code this does not matter because it is
ignored. The keyboxd code however is more picky and returns an error.
Fixes-commit: 9609cb20e4caee739b9fc4fd36797029d2970041
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | tests/openpgp/defs.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openpgp/defs.scm b/tests/openpgp/defs.scm index f3eccd940..75c66b52c 100644 --- a/tests/openpgp/defs.scm +++ b/tests/openpgp/defs.scm @@ -216,7 +216,7 @@ (tr:spawn input `(,@GPG --output **out** ,@args **in**))) (define (pipe:gpg args) - (pipe:spawn `(,@GPG --output - ,@args -))) + (pipe:spawn `(,@GPG --output - ,@args))) (define (gpg-with-colons args) (let ((s (call-popen `(,@GPG --with-colons ,@args) ""))) |