#!/bin/sh ###################################################### # # Test mhlist # ###################################################### . "$MH_TEST_COMMON" # check with no options and no current message runandcheck 'mhlist' < /dev/null runandcheck mhlist < $msgfile < $msgfile < $msgfile < Subject: mhlist test Date: Thu, 29 Jan 2015 18:12:21 +0000 (GMT) Content-Type: multipart/mixed; boundary="BoundaryMixed" --BoundaryMixed Content-type: multipart/alternative; boundary="BoundaryAlternative1" --BoundaryAlternative1 Content-type: text/enriched; CHARSET=US-ASCII Content-transfer-encoding: 7bit This is supposedly enriched. --BoundaryAlternative1 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 8bit This is the body text/plain part. --BoundaryAlternative1 Content-type: text/html; CHARSET=US-ASCII Content-transfer-encoding: 7bit
This is the text/html body part.
--BoundaryAlternative1-- --BoundaryMixed Content-type: multipart/alternative; boundary="BoundaryAlternative2" --BoundaryAlternative2 Content-type: audio/wav Content-transfer-encoding: 8bit pretend wav audio --BoundaryAlternative2 Content-type: audio/mp3 Content-transfer-encoding: 8bit pretend mp3 audio --BoundaryAlternative2 Content-type: audio/basic Content-transfer-encoding: 8bit pretend basic audio --BoundaryAlternative2-- --BoundaryMixed-- EOF # check it -- vanilla output runandcheck "mhlist $msgnum" <