From d4736bd755993627bf6abf7b7421524f5749cf11 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 18 Sep 2013 21:40:19 -0500 Subject: [PATCH] Run output of -replacetextplain test through uniq. --- test/mhfixmsg/test-mhfixmsg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 1a01de2f..5a310f11 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -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" <