X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/bd7a5de6be16c5e5466264439ebdc157fcafab74..20b441d247c612df1addf6f030cbfce3019d75f5:/test/mhfixmsg/test-mhfixmsg?ds=sidebyside diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 9f9f69b6..f7eb34b3 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -599,7 +599,7 @@ Mile $0.00 Time $78.71 State Tax $5.90 Vehicle License Fee $1.84 -State Txn Tax $6.00 +State Txn Tx $6.00 ------=_nmh-multipart Content-Type: text/html; charset="ISO-8859-1" @@ -622,7 +622,7 @@ a, sans-serif" color=3D"#333333" size=3D"2">Vehicle License Fee $1.84State Txn TaxState Txn Tx $6.00 @@ -644,31 +644,36 @@ Subject: body requires binary encoding   +=3D"2">Mile EOF -#### lynx inserts multiple blank lines, so use uniq to squeeze them. -mhfixmsg last -outfile - | uniq >"$actual" -check "$expected" "$actual" 'ignore space' +if [ $can_reformat_texthtml -eq 1 ]; then + #### lynx inserts multiple blank lines, so use uniq to squeeze them. + mhfixmsg last -outfile - | uniq >"$actual" + check "$expected" "$actual" 'ignore space' +else + cp -p "$MH_TEST_DIR/Mail/inbox/15" "$MH_TEST_DIR/Mail/inbox/15.backup" + rm -f "$expected" +fi # check -textcodeset @@ -869,6 +874,7 @@ else rm -f "$expected" fi + # check handling of rfc822 message type cat >"$expected" <
Mile $0.00
Time$78.71
<= -font face=3D"Arial, Helvetica, sans-serif" color=3D"#333333" size=3D"2">State Tax $5.90
Vehicle License Fee $1.84
State Txn Tax $6.00
 $0.00
Time $78.71
State Tax $5.90
Vehicle License Fee $1.84
State Txn Tx $6.00