]> diplodocus.org Git - nmh/blobdiff - test/mhfixmsg/test-mhfixmsg
Run output of -replacetextplain test through uniq.
[nmh] / test / mhfixmsg / test-mhfixmsg
index 1a01de2fb78b8e851f85122ef1aef42234de747e..5a310f11106a6ea9b67ef60ebbf08c1b576c8fe0 100755 (executable)
@@ -1004,9 +1004,11 @@ Content-Disposition: inline
 ------=_Part_876302--
 EOF
 
-mhfixmsg last -replacetextplain -outfile "$actual"
+#### lynx inserts multiple blank lines, so use uniq to squeeze them.
+mhfixmsg last -replacetextplain -outfile - | uniq > "$actual"
 check "$expected" "$actual"
 
+
 # check -noreplacetextplain
 cat >"$expected" <<EOF
 To: recipient@example.com