From fb9d68d636490ca88925051f48b08963c324aed1 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Fri, 17 Mar 2017 19:31:09 +0100 Subject: [PATCH] tests: Add test for issue 2959. * tests/openpgp/tofu.scm: Add test for --tofu-default-policy=ask. Signed-off-by: Neal H. Walfield --- tests/openpgp/tofu.scm | 1 + 1 file changed, 1 insertion(+) 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.