X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT700-reindex.sh;h=f51130e8f86d4ed8c4a80698b971305c34b4ae91;hb=29ba52327511e692c48850463f8675a01cdaf9b7;hp=9e795896a4661bb27b844b4fb47860981a6edd51;hpb=2f4beda434c59f9e2f5b7c32d26543bad7217ad4;p=notmuch diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index 9e795896..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