From e9e26fa3d84b9d38c4a33fb33f890b21b482ef13 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Mon, 25 Nov 2019 01:53:54 -0500 Subject: email-print-mime-structure: simple baseline test suite I want to ensure that any changes don't ultimately break the behavior of email-print-mime-structure. Signed-off-by: Daniel Kahn Gillmor --- tests/email-print-mime-structure/attachment.eml | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/email-print-mime-structure/attachment.eml (limited to 'tests/email-print-mime-structure/attachment.eml') diff --git a/tests/email-print-mime-structure/attachment.eml b/tests/email-print-mime-structure/attachment.eml new file mode 100644 index 0000000..31baa7c --- /dev/null +++ b/tests/email-print-mime-structure/attachment.eml @@ -0,0 +1,26 @@ +Date: Sun, 24 Nov 2019 21:13:45 -0500 +Subject: test message +Message-ID: +From: Alice +To: Bob +Content-Type: multipart/mixed; boundary="xyz" + +--xyz +Content-Type: multipart/alternative; boundary="abc123" + +--abc123 +Content-Type: text/plain + +This is a simple message + +--abc123 +Content-Type: text/html + +

This is a simple message

+ +--abc123-- +--xyz +Content-Type: text/plain +Content-Disposition: attachment; filename="test.txt" + +This is a simple attachment file. -- cgit v1.2.3