mhl and mhbuild ignore to long lines
[mmh] / test / tests / mhbuild / test-folding
1 # test mhbuild linebreak for quoted-printable
2
3 . "$MH_TEST_COMMON"
4
5
6 draft="$MH_TEST_DIR/mhbuild-$$.draft"
7
8 cat >"$draft" <<!
9 From: meillo
10 To: meillo
11 Date: Thursday, 28 Sep 2006 00:02:00
12 Subject: mhbuild header folding
13 References: <aaaaaaaaaaaaaaaaaaaaaaaaaaa@example.com> <aaaaaaaaaaaaaaaaaaaaaaaaaab@example.com> <c@example.com>
14 ----------------
15 Das ist ein test
16 !
17
18
19
20 runandcheck 'mhbuild "$draft"' <<!
21 !
22
23 runandcheck 'sed "/^Content-ID:/s/:.*/: <TESTID>/" "$draft"' <<!
24 From: meillo
25 To: meillo
26 Date: Thursday, 28 Sep 2006 00:02:00
27 Subject: mhbuild header folding
28 References: <aaaaaaaaaaaaaaaaaaaaaaaaaaa@example.com>
29  <aaaaaaaaaaaaaaaaaaaaaaaaaab@example.com> <c@example.com>
30 MIME-Version: 1.0
31 Content-Type: text/plain; charset="us-ascii"
32 Content-ID: <TESTID>
33
34 Das ist ein test
35 !