From 97798eec4b77470b3aecdbee9729fa76b8550dfe Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 23 Sep 2020 16:27:57 +0200 Subject: [PATCH] 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 --- tests/openpgp/defs.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) "")))