X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e98c2d0fee3d656633ae897576b3d8d0f0fddfe2..94187a80bd60baab4b9c4b949ad820d730578123:/test/mhshow/test-msg-buffer-boundaries diff --git a/test/mhshow/test-msg-buffer-boundaries b/test/mhshow/test-msg-buffer-boundaries index 23b49348..ca1e7cd6 100755 --- a/test/mhshow/test-msg-buffer-boundaries +++ b/test/mhshow/test-msg-buffer-boundaries @@ -153,12 +153,13 @@ EOF # Write the expected output. cat >"$expected" <"$actual" 2>&1 -check "$expected" "$actual" +run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1 +check "$expected" "$actual" : check number 1 # check a boundary condition in m_getfld(): its internal message # buffer holds exactly up to the end of a header field name in a @@ -293,12 +294,13 @@ EOF # Write the expected output. cat >"$expected" <"$actual" 2>&1 -check "$expected" "$actual" +run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1 +check "$expected" "$actual" : check number 2 # check a boundary condition in m_getfld(): its internal message # buffer holds exactly up to the end of a message part boundary @@ -416,12 +418,14 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -The 8192nd character is the '2' at the end of the following NextPart_002. +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + +The 8192'nd 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. @@ -432,12 +436,13 @@ EOF # Write the expected output. cat >"$expected" <"$actual" 2>&1 -check "$expected" "$actual" +run_prog mhshow -part 1.1 -form mhl.null $msgnum >"$actual" 2>&1 +check "$expected" "$actual" : check number 3 exit $failed