[RFC PATCH 08/14] Don't cache corpus.mail

Subject: [RFC PATCH 08/14] Don't cache corpus.mail

Date: Mon, 25 Jun 2012 16:51:51 -0400

To: notmuch@notmuchmail.org

Cc:

From: Ethan Glasser-Camp


corpus.mail has already been processed by notmuch-new, so it seems
like a good target to cache, but since filenames are no longer being
stored relative to the database, it isn't. Recopy on each test, or
else filenames from other tests will show up.

Signed-off-by: Ethan Glasser-Camp <ethan@betacantrips.com>
---
 test/test-lib.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test-lib.sh b/test/test-lib.sh
index 195158c..def3760 100644
--- a/test/test-lib.sh
+++ b/test/test-lib.sh
@@ -441,7 +441,7 @@ add_email_corpus ()
     else
 	cp -a $TEST_DIRECTORY/corpus ${MAIL_DIR}
 	notmuch new >/dev/null
-	cp -a ${MAIL_DIR} $TEST_DIRECTORY/corpus.mail
+	#cp -a ${MAIL_DIR} $TEST_DIRECTORY/corpus.mail
     fi
 }
 
-- 
1.7.9.5


Thread: