diff options
author | Carl Worth <cworth@cworth.org> | 2010-09-20 16:40:35 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-09-20 16:40:35 -0700 |
commit | 5497b01c27ed217bc351d9995e0f46c3d6ff2442 (patch) | |
tree | 90aa9e2561192ffb377ff070a269cb13d6441619 /test/search | |
parent | d805866ec502540e80b6209bfb6a54fd24ff4458 (diff) |
test: Fix the search and dump-restore tests to operator on non-empty mail store.
We do this with a new add_email_corpus function that establishes a
mail store with 50 messages from the notmuch mailing list.
Diffstat (limited to 'test/search')
-rwxr-xr-x | test/search | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/search b/test/search index 32799c40..91325552 100755 --- a/test/search +++ b/test/search @@ -2,6 +2,8 @@ test_description='"notmuch search" in several variations' . ./test-lib.sh +add_email_corpus + test_begin_subtest "Search body" add_message '[subject]="body search"' '[date]="Sat, 01 Jan 2000 12:00:00 -0000"' [body]=bodysearchtest output=$(notmuch search bodysearchtest | notmuch_search_sanitize) |