From 6cd47227de09556dbc611d842c9b4b0f077598fc Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 17 Nov 2019 21:58:12 -0400 Subject: [PATCH] test: add a known broken test for S/MIME decryption 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 < EXPECTED +This is a test encrypted message. +EOF +test_expect_equal_file EXPECTED OUTPUT + test_done -- 2.43.0