]>
diplodocus.org Git - nmh/blob - test/post/test-post-dcc
3 # Test the behavior of post with multiple recipients (& dcc)
8 if test -z "${MH_OBJ_DIR}"; then
9 srcdir
=`dirname "$0"`/..
/..
10 MH_OBJ_DIR
=`cd "$srcdir" && pwd`; export MH_OBJ_DIR
13 .
"${srcdir}/test/post/test-post-common.sh"
18 cat > "${MH_TEST_DIR}/Mail/draft" <<EOF
19 From: Mr Nobody <nobody@example.com>
20 To: Somebody One <somebody1@example.com>,
21 Somebody Two <somebody2@example.com>
23 Dcc: Somebody Three <somebody3@example.com>
25 This is test of Dcc recipients.
28 cat > "${testname}.expected" <<EOF
29 EHLO nosuchhost.example.com
30 MAIL FROM:<nobody@example.com>
31 RCPT TO:<somebody1@example.com>
32 RCPT TO:<somebody2@example.com>
33 RCPT TO:<somebody3@example.com>
35 From: Mr Nobody <nobody@example.com>
36 To: Somebody One <somebody1@example.com>,
37 Somebody Two <somebody2@example.com>
41 This is test of Dcc recipients.
46 test_post
"${testname}.actual" "${testname}.expected"