diff options
| author | David Bremner <david@tethera.net> | 2020-05-04 10:49:43 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-05-04 10:49:43 -0300 |
| commit | accfee5c6e1f52979adf153126945dd7f49d1b4d (patch) | |
| tree | 9c68b4b7de8074274162fd229cc9eedb41680910 /test | |
| parent | 9055dfdae41ba762b12434fe678fc524ea3ed618 (diff) | |
test: known broken test for reindex tag preservation
In id:1588595993-ner-8.651@TPL520 Franz Fellner reported that tags
starting with 'attachment' are removed by 'notmuch reindex'. This is
probably related to the use of STRNCMP_LITERAL in
_notmuch_message_remove_indexed_terms.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T700-reindex.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index 9e795896..7b7e52de 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -33,6 +33,15 @@ notmuch reindex '*' notmuch dump > OUTPUT test_expect_equal_file initial-dump OUTPUT +test_begin_subtest 'reindex preserves tags with special prefixes' +test_subtest_known_broken +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 |
