2 ######################################################
4 # Test forwarding messages
6 ######################################################
8 # TODO: Move to a common file tests can source; need more framework...
11 diff -u $expected $actual
13 failed=$((failed + 1))
17 # Make a draft file forwarding two messages.
25 #forw [forwarded messages] +inbox 1 2
29 # Munge the Content-Id from the draft after mhbuild, so we have a reliable
32 sed 's/\(Content-ID:\) <[^>][^>]*>/\1 <TESTID>/' $draft > $actual
35 draft=$MH_TEST_DIR/$$.draft
36 expected=$MH_TEST_DIR/$$.expected
37 actual=$MH_TEST_DIR/$$.actual
46 Content-Type: multipart/digest; boundary="----- =_aaaaaaaaaa0"
48 Content-Description: forwarded messages
51 Content-Type: message/rfc822
53 From: Test1 <test1@example.com>
54 To: Some User <user@example.com>
55 Date: Fri, 29 Sep 2006 00:00:00
56 Subject: Testing message 1
58 This is message number 1
61 Content-Type: message/rfc822
63 From: Test2 <test2@example.com>
64 To: Some User <user@example.com>
65 Date: Fri, 29 Sep 2006 00:00:00
66 Subject: Testing message 2
68 This is message number 2
70 ------- =_aaaaaaaaaa0--