From: Carl Worth Date: Mon, 20 Sep 2010 23:41:31 +0000 (-0700) Subject: test/README: Document add_email_corpus (and add_message/generate_message) X-Git-Tag: 0.4~79 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=9c7fd320c902bc79cbb3eaa9757cf5b13112ce27 test/README: Document add_email_corpus (and add_message/generate_message) While adding the documentation here for add_email_corpus I noticed that the other email-adding functions in test-lib.sh were not yet documented here, so add all of that documentation. --- diff --git a/test/README b/test/README index 50b3acd2..86afab5c 100644 --- a/test/README +++ b/test/README @@ -94,10 +94,12 @@ This test harness library does the following things: - If the script is invoked with command line argument --help (or -h), it shows the test_description and exits. - - Creates a temporary directory with default notmuch-config and empty - mail store. This directory is 'test/tmp.'. The path - to notmuch-config is exported in NOTMUCH_CONFIG environment - variable and mail store path is stored in MAIL_DIR variable. + - Creates a temporary directory with default notmuch-config and a + mail store with a corpus of mail, (initially, 50 early messages + sent to the notmuch list). This directory is + test/tmp.. The path to notmuch-config is exported in + NOTMUCH_CONFIG environment variable and mail store path is stored + in MAIL_DIR variable. - Defines standard test helper functions for your scripts to use. These functions are designed to make all scripts behave @@ -115,13 +117,13 @@ Test harness library There are a handful helper functions defined in the test harness library for your script to use. - - test_expect_success