]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-msg-buffer-boundaries
If "curl" is available, create a nmh-access-url entry that uses it.
[nmh] / test / mhshow / test-msg-buffer-boundaries
index a05a1b4f2679fc15d96506fcec0dc74fe6360b00..b003053a6e7440a21fb0bb6b94481c02369c5dde 100755 (executable)
@@ -153,11 +153,11 @@ EOF
 
 # Write the expected output.
 cat >"$expected" <<EOF
-part 1.1   text/plain                  29
+[ part 1.1 - text/plain -   29B  ]
 This is the text/plain part.
 EOF
 
-run_prog mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check a boundary condition in m_getfld():  its internal message
@@ -293,11 +293,11 @@ EOF
 
 # Write the expected output.
 cat >"$expected" <<EOF
-part 1.1   text/plain                  29
+[ part 1.1 - text/plain -   29B  ]
 This is the text/plain part.
 EOF
 
-run_prog mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check a boundary condition in m_getfld():  its internal message
@@ -371,6 +371,7 @@ The 4096'th character is the '2' at the end of the following NextPart_002.
 --NextPart_002
 Content-Type: text/plain;
     charset="utf-8"
+Content-Description: the text/plain part
 
 This is the text/plain part.
 
@@ -381,11 +382,11 @@ EOF
 
 # Write the expected output.
 cat >"$expected" <<EOF
-part 1.1   text/plain                  29
+[ part 1.1 - text/plain - the text/plain part  29B  ]
 This is the text/plain part.
 EOF
 
-run_prog mhshow -part 1.1 -form mhl.null -nopause $msgnum >"$actual" 2>&1
+run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1
 check "$expected" "$actual"