]> diplodocus.org Git - nmh/blobdiff - test/repl/test-convert
Mention inc(1)/msgchk(1) changes
[nmh] / test / repl / test-convert
index f2792a69e33d1e2963536f952d71705806d976a2..faa1117f1ba87c50fbb35c5018e76d2965e49c38 100755 (executable)
@@ -74,10 +74,10 @@ mhbuild "$actual"
 check "$actual" "$expected"
 
 
-# check that text is not quoted-printable encoded
+# check that text is quoted-printable encoded due to long text line
 # This tests the setting of reply_ct->c_reqencoding and
 # (*text_plain_ct)->c_reqencoding in expand_pseudoheader().
-start_test "don't encode text as quoted-printable"
+start_test "encode text as quoted-printable due to long text line"
 cat >"$expected" <<'EOF'
 From: recipient@example.com
 To: sender@example.com
@@ -88,10 +88,12 @@ Comments: In-reply-to sender@example.com
    message dated "Thu, 11 Dec 2014 08:19:02 -0600."
 MIME-Version: 1.0
 Content-Type: text/plain; charset="US-ASCII"
+Content-Transfer-Encoding: quoted-printable
 
 sender@example.com writes:
 
-> This is a very, very, very, very, very, very, very, very, very, very, very, long line.
+> This is a very, very, very, very, very, very, very, very, very, very, ve=
+ry, long line.
 EOF
 
 cat >`mhpath new` <<'EOF'
@@ -278,7 +280,7 @@ Content-Type: text/calendar; method="REPLY"; charset="UTF-8"
 
 BEGIN:VCALENDAR
 METHOD:REPLY
-PRODID:nmh mhical v0.1
+PRODID:nmh mhical v0.5
 VERSION:2.0
 BEGIN:VTIMEZONE
 TZID:Eastern Standard Time