X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT700-reindex.sh;h=52bba4d318df1fc4816f262d40ffba0ead779a96;hb=69c2c930ecbcba0c7f0b340db478e58ca218bf87;hp=7b7e52deb55b5f8389085b8daca65160f6d17cb8;hpb=accfee5c6e1f52979adf153126945dd7f49d1b4d;p=notmuch diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index 7b7e52de..52bba4d3 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -6,8 +6,8 @@ add_email_corpus notmuch tag +usertag1 '*' -notmuch search '*' | notmuch_search_sanitize > initial-threads -notmuch search --output=messages '*' > initial-message-ids +notmuch search '*' 2>1 | notmuch_search_sanitize > initial-threads +notmuch search --output=messages '*' 2>/dev/null > initial-message-ids notmuch dump > initial-dump test_begin_subtest 'reindex preserves threads' @@ -34,12 +34,11 @@ 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 tag +attachment2 +encrypted2 +signed2 '*' notmuch dump > EXPECTED notmuch reindex '*' notmuch dump > OUTPUT -notmuch tag -attachment2 -encrypted2 -signed2 '*' +notmuch tag -attachment2 -encrypted2 -signed2 '*' test_expect_equal_file EXPECTED OUTPUT test_begin_subtest 'reindex moves a message between threads'