X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a7838e0e8026cbfe8a8924ef256ad9e930fb03d..12294e455bdecfdbe0952843e012fd745a3d2044:/test/mhlist/test-ext-params diff --git a/test/mhlist/test-ext-params b/test/mhlist/test-ext-params index 52ad6e99..fb64d416 100755 --- a/test/mhlist/test-ext-params +++ b/test/mhlist/test-ext-params @@ -16,9 +16,10 @@ fi setup_test +require_locale en_US.UTF-8 en_US.UTF8 en_US.utf-8 en_US.utf8 + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual -LC_ALL=en_US.UTF-8; export LC_ALL # # Write a message with some extended parameters @@ -58,13 +59,123 @@ EOF # check to see if we decode parameters correctly. -run_test 'mhlist last -noheader -verbose' \ +run_test 'mhlist last -noheader -verbose -disposition' \ ' 11 multipart/mixed 637 boundary="----- =_aaaaaaaaaa0" 1 text/plain 15 charset="us-ascii" name="This ïs the filename" 2 image/jpeg 2 + name="This is an example of a very long filename. I wonder if this filename might be too long. It should not be. But will it be?.jpg" + disposition "attachment" + filename="This is an example of a very long filename. I wonder if this filename might be too long. It should not be. But will it be?.jpg"' + +# +# Make some more complicated message parameters. +# + +msgfile=`mhpath new` +cat > $msgfile < $msgfile <