diff options
author | Carl Worth <cworth@cworth.org> | 2010-10-27 10:42:46 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-10-27 10:42:46 -0700 |
commit | 102c57c825d22c8f4741332f1e02e08f66f6cd2f (patch) | |
tree | 8674b1a2789470e376bad45b6875b6152725be76 /test/basic | |
parent | f30200a4296f972474f9254dc3cba89570cd7bc0 (diff) |
test: Add test that emacs interface actually sends mail.
Rather than *reall* sending mail here, we instead have a new test
program, smtp-dummy which implements (a small piece of) the
server-side SMTP protocol and saves a mail message to the filename
provided. This gives us reasonable test coverage of a large chunk of
the notmuch+emacs code base (down to talking to an SMTP server with
the final mail contents).
Diffstat (limited to 'test/basic')
-rwxr-xr-x | test/basic | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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|corpus*|emacs.expected-output)" | sort) +available=$(ls -1 ../ | grep -v -E "^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test|README|test-lib.sh|test-results|tmp.*|valgrind|corpus*|emacs.expected-output|smtp-dummy|smtp-dummy.c)" | sort) test_expect_equal "$tests_in_suite" "$available" ################################################################ |