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