]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-subpart
Added full output test to test-scan.
[nmh] / test / mhshow / test-subpart
index 2a79977..d5ca610 100755 (executable)
@@ -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