X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5b410a0888990f4cddb9c2859d039d09089a8043..d3fbcfdac5b951d06c74138f2eeb88edcfe149f7:/test/mhshow/test-subpart diff --git a/test/mhshow/test-subpart b/test/mhshow/test-subpart index 2a799772..d5ca6100 100755 --- a/test/mhshow/test-subpart +++ b/test/mhshow/test-subpart @@ -136,9 +136,8 @@ EOF # check it start_test 'text/html part' - # 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 + run_prog mhshow -part 1.1.1 -form mhl.null $msgnum 2>&1 | + squeeze_whitespace >$actual check "$expected" "$actual" : part 1.1.1 fi