aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/basic
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-09-20 16:40:35 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-09-20 16:40:35 -0700
commit5497b01c27ed217bc351d9995e0f46c3d6ff2442 (patch)
tree90aa9e2561192ffb377ff070a269cb13d6441619 /test/basic
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/basic')
-rwxr-xr-xtest/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic b/test/basic
index dada2824..fd89e9e4 100755
--- a/test/basic
+++ b/test/basic
@@ -52,7 +52,7 @@ test_expect_code 2 'failure to clean up causes the test to fail' '
# Ensure that all tests are being run
test_begin_subtest 'Ensure that all available tests will be run by notmuch-test'
tests_in_suite=$(grep TESTS= ../notmuch-test | sed -e "s/TESTS=\"\(.*\)\"/\1/" | tr " " "\n" | sort)
-available=$(ls -1 ../ | grep -v -E "^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test|README|test-lib.sh|test-results|tmp.*|valgrind)" | sort)
+available=$(ls -1 ../ | grep -v -E "^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test|README|test-lib.sh|test-results|tmp.*|valgrind|corpus*)" | sort)
test_expect_equal "$tests_in_suite" "$available"
################################################################