From 5497b01c27ed217bc351d9995e0f46c3d6ff2442 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 20 Sep 2010 16:40:35 -0700 Subject: 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. --- test/search | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/search') diff --git a/test/search b/test/search index 32799c4..9132555 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) -- cgit v1.2.3