X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FT357-index-decryption.sh;h=a7497489293b6d9e7df7d835385dbef0d9d92e41;hb=fb4a0967cab7df737d5d53199a48a0e79c429b61;hp=1951ef783a36bf0d3d17cfd4d82420d207574b48;hpb=dab32dc70c15789b188001b78b7225c61bed4784;p=notmuch diff --git a/test/T357-index-decryption.sh b/test/T357-index-decryption.sh index 1951ef78..a7497489 100755 --- a/test/T357-index-decryption.sh +++ b/test/T357-index-decryption.sh @@ -4,9 +4,11 @@ test_description='indexing decrypted mail' . $(dirname "$0")/test-lib.sh || exit 1 +. $NOTMUCH_SRCDIR/test/test-lib-emacs.sh || exit 1 ################################################## +test_require_emacs add_gnupg_home # create a test encrypted message @@ -224,6 +226,7 @@ output=$(notmuch dump | LC_ALL=C sort) expected='#= simple-encrypted@crypto.notmuchmail.org index.decryption=failure #notmuch-dump batch-tag:3 config,properties,tags +encrypted +inbox +unread -- id:basic-encrypted@crypto.notmuchmail.org ++encrypted +inbox +unread -- id:encrypted-rfc822-attachment@crypto.notmuchmail.org +encrypted +inbox +unread -- id:encrypted-signed@crypto.notmuchmail.org +encrypted +inbox +unread -- id:simple-encrypted@crypto.notmuchmail.org' test_expect_equal \