]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-subpart
Added full output test to test-scan.
[nmh] / test / mhshow / test-subpart
index 2a799772cd840f4c994a61d273acb874fd340277..d5ca6100ecd50fda88b68fc4258b7e1835cd24c6 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