X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT700-reindex.sh;h=f51130e8f86d4ed8c4a80698b971305c34b4ae91;hb=a34d7b41444ad2fb50cc7def25659c88d439780a;hp=2b7bc6588b8db736f2bbb4a843c43e49388eeefb;hpb=7ac96b149f5a0e5c03b64856d7c20789dab3c628;p=notmuch diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index 2b7bc658..f51130e8 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -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 @@ -66,7 +74,6 @@ notmuch restore < prop-dump notmuch reindex '*' notmuch dump | grep '^#=' | sort > OUTPUT test_expect_equal_file prop-dump OUTPUT -test_done add_email_corpus lkml