tests: Add test for issue 2959.
authorNeal H. Walfield <neal@g10code.com>
Fri, 17 Mar 2017 18:31:09 +0000 (19:31 +0100)
committerNeal H. Walfield <neal@g10code.com>
Fri, 17 Mar 2017 18:31:09 +0000 (19:31 +0100)
* tests/openpgp/tofu.scm: Add test for --tofu-default-policy=ask.

Signed-off-by: Neal H. Walfield <neal@g10code.com>
tests/openpgp/tofu.scm

index f4eab41..aeeef07 100755 (executable)
 (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.