[PATCH] test: add a known broken test for S/MIME decryption
David Bremner
david at tethera.net
Sun Nov 17 17:58:12 PST 2019
This should serve to clarify this feature is not implimented in
notmuch yet.
---
test/T355-smime.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/test/T355-smime.sh b/test/T355-smime.sh
index 336da917..11a4d6cd 100755
--- a/test/T355-smime.sh
+++ b/test/T355-smime.sh
@@ -94,4 +94,13 @@ Verification successful
EOF
test_expect_equal_file EXPECTED OUTPUT
+test_begin_subtest "Decryption (notmuch CLI)"
+test_subtest_known_broken
+notmuch show --decrypt=true subject:"test encrypted message 001" |\
+ grep "^This is a" > OUTPUT
+cat <<EOF > EXPECTED
+This is a test encrypted message.
+EOF
+test_expect_equal_file EXPECTED OUTPUT
+
test_done
--
2.24.0
More information about the notmuch
mailing list