X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7e288a9d7941d2d9df94f9ee70e47061f0f36304..33ee48487aba4989607d930e341032005de02004:/test/mhshow/test-subpart diff --git a/test/mhshow/test-subpart b/test/mhshow/test-subpart index 28bca944..27fb9077 100755 --- a/test/mhshow/test-subpart +++ b/test/mhshow/test-subpart @@ -75,7 +75,7 @@ Content-type: multipart/alternative; boundary="BoundaryAlternative1" --BoundaryAlternative1 -Content-type: text/plain; charset=ISO-8859-1; format=flowed +Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 8bit This is the body text/plain part. @@ -115,7 +115,9 @@ This is the text/html body part. EOF # check it -run_prog mhshow -part 1.1.1 -form mhl.null $msgnum > $actual 2>&1 +# The sed command removes blank lines and leading space that lynx inserts. +run_prog mhshow -part 1.1.1 -form mhl.null $msgnum | + sed '/^$/D; s/^ *//;' > $actual 2>&1 check "$expected" "$actual" : part 1.1.1 # Write the expected output.