]> diplodocus.org Git - nmh/blobdiff - test/inc/test-inc-scanout
Added date to test message with two blank lines between header
[nmh] / test / inc / test-inc-scanout
index ffe2c46da8f26e81e29980d12140a4b523ba5727..87335d527e927ce8d523d4df5a605c00ebd5f496 100755 (executable)
@@ -329,5 +329,21 @@ run_test "inc -width 80 -file $MH_TEST_DIR/msgbox -truncate" \
   24  12/18 foo@example.edu    test'
 rm -f  "$MH_TEST_DIR/msgbox"
 
+# check mbox with two blank lines between header and body
+cat >>"$MH_TEST_DIR/msgbox" <<EOF
+From 
+Date: Mon, 15 Apr 2013 21:02:12 -0500
+From: me@example.com
+
+
+test
+EOF
+
+run_test "inc -width 60 -file $MH_TEST_DIR/msgbox -truncate" \
+'Incorporating new mail into inbox...
+
+  25+ 04/15 me@example.com     <<test >>'
+rm -f  "$MH_TEST_DIR/msgbox"
+
 
 exit ${failed:-0}