summaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/gpgsm-defs.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpgsm/gpgsm-defs.scm')
-rw-r--r--tests/gpgsm/gpgsm-defs.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gpgsm/gpgsm-defs.scm b/tests/gpgsm/gpgsm-defs.scm
index d99d7dad4..c78a12797 100644
--- a/tests/gpgsm/gpgsm-defs.scm
+++ b/tests/gpgsm/gpgsm-defs.scm
@@ -67,7 +67,9 @@
"faked-system-time 1008241200")
(create-file "gpg-agent.conf"
(string-append "pinentry-program " (tool 'pinentry))
- (string-append "scdaemon-program " (tool 'scdaemon))
+ (if (assoc "scdaemon" gpg-components)
+ (string-append "scdaemon-program " (tool 'scdaemon))
+ "# No scdaemon available")
)
(start-agent)
(create-file