diff options
| author | David Bremner <david@tethera.net> | 2019-11-17 21:58:12 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-12-14 07:25:06 -0400 |
| commit | 6cd47227de09556dbc611d842c9b4b0f077598fc (patch) | |
| tree | a09ba981923541264ef88c5f7741289c7118c9f6 | |
| parent | a7884929d51790ed2782b04ba5b5e466d7148a63 (diff) | |
test: add a known broken test for S/MIME decryption
This should serve to clarify this feature is not implimented in
notmuch yet.
| -rwxr-xr-x | test/T355-smime.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
