]> diplodocus.org Git - nmh/blobdiff - test/mhfixmsg/test-mhfixmsg
Move a variable manipulation outside the context of setjmp() to quell a compiler...
[nmh] / test / mhfixmsg / test-mhfixmsg
index 9f9f69b69f6c265e2cafb8adbda1dbf790b064f2..3bffa9a8be06e75e3189adb01c4092c3873be658 100755 (executable)
@@ -666,9 +666,14 @@ d><td align=3D"right"><font face=3D"Arial, Helvetica, sans-serif" color=3D"=
 </html>
 EOF
 
 </html>
 EOF
 
-#### lynx inserts multiple blank lines, so use uniq to squeeze them.
-mhfixmsg last -outfile - | uniq >"$actual"
-check "$expected" "$actual" 'ignore space'
+if [ $can_reformat_texthtml -eq 1 ]; then
+  #### lynx inserts multiple blank lines, so use uniq to squeeze them.
+  mhfixmsg last -outfile - | uniq >"$actual"
+  check "$expected" "$actual" 'ignore space'
+else
+  cp -p "$MH_TEST_DIR/Mail/inbox/15" "$MH_TEST_DIR/Mail/inbox/15.backup"
+  rm -f "$expected"
+fi
 
 
 # check -textcodeset
 
 
 # check -textcodeset
@@ -869,6 +874,7 @@ else
   rm -f "$expected"
 fi
 
   rm -f "$expected"
 fi
 
+
 # check handling of rfc822 message type
 cat >"$expected" <<EOF
 From: Test <test@example.com>
 # check handling of rfc822 message type
 cat >"$expected" <<EOF
 From: Test <test@example.com>