blob 32385a727af8ef6be172c5189e372b9402090af6 516 bytes (raw)
name: test/T700-reindex.sh # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| | #!/usr/bin/env bash
test_description='reindexing messages'
. ./test-lib.sh || exit 1
add_email_corpus
test_begin_subtest 'reindex preserves message-ids'
notmuch search --output=messages '*' > EXPECTED
# remove duplicate file
rm $MAIL_DIR/bar/18:2,
notmuch reindex '*'
notmuch search --output=messages '*' > OUTPUT
test_expect_equal_file EXPECTED OUTPUT
test_begin_subtest 'reindex preserves tags'
notmuch dump > EXPECTED
notmuch reindex '*'
notmuch dump > OUTPUT
test_expect_equal_file EXPECTED OUTPUT
test_done
|
debug log:
solving 32385a72 ...
found 32385a72 in https://yhetil.org/notmuch/20170404014738.25963-5-david@tethera.net/ ||
https://yhetil.org/notmuch/20170402131646.29884-4-david@tethera.net/
applying [1/1] https://yhetil.org/notmuch/20170404014738.25963-5-david@tethera.net/
diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh
new file mode 100755
index 00000000..32385a72
Checking patch test/T700-reindex.sh...
Applied patch test/T700-reindex.sh cleanly.
skipping https://yhetil.org/notmuch/20170402131646.29884-4-david@tethera.net/ for 32385a72
index at:
100755 32385a727af8ef6be172c5189e372b9402090af6 test/T700-reindex.sh
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).