aboutsummaryrefslogtreecommitdiff
path: root/test/search-output
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2011-05-25 18:01:20 -0700
committerCarl Worth <cworth@cworth.org>2011-05-27 16:22:00 -0700
commit1d6b49561f50d6cde1b473f9887e37748e49c02c (patch)
tree8d2f86fabdffdb2577ed6de7398a0824d83eeaba /test/search-output
parent45fe3547458e0c403f7501bad89860afe2fa534a (diff)
tag signed/encrypted during notmuch new
This patch adds the tag "signed" to messages with any multipart/signed parts, and the tag "encrypted" to messages with any multipart/encrypted parts. This only occurs when messages are indexed during notmuch new, so a database rebuild is required to have old messages tagged.
Diffstat (limited to 'test/search-output')
-rwxr-xr-xtest/search-output2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/search-output b/test/search-output
index ef870bf..20341d6 100755
--- a/test/search-output
+++ b/test/search-output
@@ -270,12 +270,14 @@ test_begin_subtest "notmuch search --output=tags"
output=$(notmuch search --output=tags '*')
test_expect_equal "$output" "attachment
inbox
+signed
unread"
test_begin_subtest "notmuch search --format=json --output=tags"
output=$(notmuch search --format=json --output=tags '*')
test_expect_equal "$output" '["attachment",
"inbox",
+"signed",
"unread"]'
test_done