diff options
author | Werner Koch <[email protected]> | 2020-09-23 14:27:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-09-24 08:37:41 +0000 |
commit | 97798eec4b77470b3aecdbee9729fa76b8550dfe (patch) | |
tree | b2204353c6b94c3fb9f5c50006c81d45fad9ae0b | |
parent | keyboxd: Remove unused variables. (diff) | |
download | gnupg-97798eec4b77470b3aecdbee9729fa76b8550dfe.tar.gz gnupg-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 <[email protected]>
-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) ""))) |