tests: Minor imporvement in agent invocation
authorWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 15:49:07 +0000 (16:49 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 6 Nov 2017 15:49:07 +0000 (16:49 +0100)
* tests/openpgp/defs.scm (create-gpghome): Add s2k-count.
--

My tests show only 2.5% improvement, but as we have that option now
let's use it.

real    9m12.604s
user    2m20.720s
sys     0m11.452s

real    8m3.815s
user    2m16.700s
sys     0m11.544s

Signed-off-by: Werner Koch <wk@gnupg.org>
tests/openpgp/defs.scm

index a6347fe..9f780fe 100644 (file)
               "allow-preset-passphrase"
               "no-grab"
               "enable-ssh-support"
+               "s2k-count 65536"
               (if (flag "--extended-key-format" *args*)
                   "enable-extended-key-format" "#enable-extended-key-format")
               (string-append "pinentry-program " (tool 'pinentry))