X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FT700-reindex.sh;h=bac43dc5e16df214dafb1d3a3698d0033bab741c;hb=90d9c2ad5c459624d17f92d0844e7a7fbb87d7a2;hp=52bba4d318df1fc4816f262d40ffba0ead779a96;hpb=69c2c930ecbcba0c7f0b340db478e58ca218bf87;p=notmuch diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index 52bba4d3..bac43dc5 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -83,4 +83,11 @@ notmuch reindex '*' notmuch search '*' | notmuch_search_sanitize > OUTPUT test_expect_equal_file EXPECTED OUTPUT + +test_begin_subtest "reindex after removing corpus" +tar cf backup.tar mail/cur +find mail/cur -type f -delete +test_expect_success "notmuch reindex '*'" +tar xf backup.tar + test_done