From 1d6b49561f50d6cde1b473f9887e37748e49c02c Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Wed, 25 May 2011 18:01:20 -0700 Subject: 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. --- test/search-output | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/search-output') diff --git a/test/search-output b/test/search-output index ef870bf7..20341d6e 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 -- cgit v1.2.3