]>
diplodocus.org Git - nmh/blob - test/post/test-post-group
3 # Test the behavior of post when using group addresses
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: our-group: Somebody One <somebody1@example.com>
21 Somebody Two <somebody2@example.com>;
24 This is test of group recipients.
27 cat > "${testname}.expected" <<EOF
28 EHLO nosuchhost.example.com
29 MAIL FROM:<nobody@example.com>
30 RCPT TO:<somebody1@example.com>
31 RCPT TO:<somebody2@example.com>
33 From: Mr Nobody <nobody@example.com>
37 Content-Type: text/plain; charset="us-ascii"
40 This is test of group recipients.
45 test_post
"${testname}.actual" "${testname}.expected"