tests: Add test for issue 2959.

* tests/openpgp/tofu.scm: Add test for --tofu-default-policy=ask.

Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
Neal H. Walfield 2017-03-17 19:31:09 +01:00
parent b1106b4d64
commit fb9d68d636
No known key found for this signature in database
GPG Key ID: 7223B56678E02528
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@
(checktrust "1C005AF3" "f" '--tofu-default-policy=good)
(checktrust "1C005AF3" "-" '--tofu-default-policy=unknown)
(checktrust "1C005AF3" "n" '--tofu-default-policy=bad)
(checktrust "1C005AF3" "q" '--tofu-default-policy=ask)
;; Change the policy to something other than auto and make sure the
;; policy and the trust are correct.