aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2017-03-17 18:31:09 +0000
committerNeal H. Walfield <[email protected]>2017-03-17 18:31:09 +0000
commitfb9d68d636490ca88925051f48b08963c324aed1 (patch)
treea807b0793ef3e674d8e6744ed870f23c1319658b
parentgpg: Make sure the conflict set includes the current key. (diff)
downloadgnupg-fb9d68d636490ca88925051f48b08963c324aed1.tar.gz
gnupg-fb9d68d636490ca88925051f48b08963c324aed1.zip
tests: Add test for issue 2959.
* tests/openpgp/tofu.scm: Add test for --tofu-default-policy=ask. Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to '')
-rwxr-xr-xtests/openpgp/tofu.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/openpgp/tofu.scm b/tests/openpgp/tofu.scm
index f4eab41f1..aeeef07d9 100755
--- a/tests/openpgp/tofu.scm
+++ b/tests/openpgp/tofu.scm
@@ -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.