From: David Bremner Date: Mon, 18 Nov 2019 01:58:12 +0000 (-0400) Subject: test: add a known broken test for S/MIME decryption X-Git-Tag: archive/debian/0.30_rc0-1~106 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=6cd47227de09556dbc611d842c9b4b0f077598fc;ds=sidebyside test: add a known broken test for S/MIME decryption This should serve to clarify this feature is not implimented in notmuch yet. --- 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 < EXPECTED +This is a test encrypted message. +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done