]> git.notmuchmail.org Git - notmuch/blobdiff - test/T700-reindex.sh
smime: Identify encrypted S/MIME parts during indexing
[notmuch] / test / T700-reindex.sh
index 9e795896a4661bb27b844b4fb47860981a6edd51..3d7c930d6bdb0fe557b665c76385e5343478d541 100755 (executable)
@@ -33,6 +33,14 @@ notmuch reindex '*'
 notmuch dump > OUTPUT
 test_expect_equal_file initial-dump OUTPUT
 
+test_begin_subtest 'reindex preserves tags with special prefixes'
+notmuch tag +attachment2 +encrypted2 +signed2  '*'
+notmuch dump > EXPECTED
+notmuch reindex '*'
+notmuch dump > OUTPUT
+notmuch tag -attachment2 -encrypted2 -signed2  '*'
+test_expect_equal_file EXPECTED OUTPUT
+
 test_begin_subtest 'reindex moves a message between threads'
 notmuch search --output=threads id:87iqd9rn3l.fsf@vertex.dottedmag > EXPECTED
 # re-parent