aboutsummaryrefslogtreecommitdiff
path: root/test/dump-restore
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-09-20 16:40:35 -0700
committerCarl Worth <cworth@cworth.org>2010-09-20 16:40:35 -0700
commit5497b01c27ed217bc351d9995e0f46c3d6ff2442 (patch)
tree90aa9e2561192ffb377ff070a269cb13d6441619 /test/dump-restore
parentd805866ec502540e80b6209bfb6a54fd24ff4458 (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/dump-restore')
-rwxr-xr-xtest/dump-restore2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dump-restore b/test/dump-restore
index 466f363..0d78f01 100755
--- a/test/dump-restore
+++ b/test/dump-restore
@@ -2,6 +2,8 @@
test_description="\"notmuch dump\" and \"notmuch restore\""
. ./test-lib.sh
+add_email_corpus
+
test_expect_success "Dumping all tags" "generate_message &&
notmuch new &&
notmuch dump dump.expected"