diff options
| author | Werner Koch <[email protected]> | 2014-10-30 08:55:51 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2014-10-30 08:55:51 +0000 |
| commit | 9546aa3cc87fc83a40768a12fbbceb19496ce129 (patch) | |
| tree | 4615b34ccbfcd5c2be616c84285ea822822c4d72 /tests/openpgp/defs.inc | |
| parent | po: Add a new German translation (diff) | |
| download | gnupg-9546aa3cc87fc83a40768a12fbbceb19496ce129.tar.gz gnupg-9546aa3cc87fc83a40768a12fbbceb19496ce129.zip | |
tests: Speed up the genkey1024.test by using not so strong random.
* agent/gpg-agent.c (oDebugQuickRandom): New.
(opts): New option --debug-quick-random.
(main): Use new option.
* common/asshelp.c (start_new_gpg_agent): Add hack to pass an
additional argument for the agent name.
* tests/openpgp/defs.inc: Pass --debug-quick-random to the gpg-agent
starting parameters.
* tests/openpgp/version.test: Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests/openpgp/defs.inc')
| -rwxr-xr-x | tests/openpgp/defs.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/openpgp/defs.inc b/tests/openpgp/defs.inc index b7320d562..941f786bc 100755 --- a/tests/openpgp/defs.inc +++ b/tests/openpgp/defs.inc @@ -244,10 +244,9 @@ for f in gpg.conf gpg-agent.conf ; do case "$f" in gpg.conf) [ -n "${opt_always}" ] && echo "no-auto-check-trustdb" >>"$f" - echo "agent-program $GPG_AGENT" >>"$f" + echo "agent-program ${GPG_AGENT}|--debug-quick-random" >>"$f" echo "allow-weak-digest-algos" >>"$f" - - ;; + ;; gpg-agent.conf) echo "pinentry-program $PINENTRY" >>"$f" ;; |
