41 TEXTFILE (
"Content-Type: text/x-ipxe; charset=\"utf-8\"\r\n"
42 "MIME-Version: 1.0\r\n"
43 "Content-Transfer-Encoding: base64\r\n"
44 "Content-Disposition: attachment; filename=\"hw.ipxe\"\r\n"
46 "IyFpcHhlCgplY2hvIEhlbGxvIHdvcmxkCnNoZWxsCg==\r\n" ),
54 TEXTFILE (
"Content-Type: multipart/mixed; "
55 "boundary=\"===============5227682047807177400==\"\r\n"
56 "MIME-Version: 1.0\r\n"
58 "--===============5227682047807177400==\r\n"
59 "Content-Type: text/cloud-config; charset=\"utf-8\"\r\n"
60 "MIME-Version: 1.0\r\n"
61 "Content-Transfer-Encoding: base64\r\n"
62 "Content-Disposition: attachment; filename=\"conf.yml\"\r\n"
64 "LS0tCmNvbmZpZzoKICB0aGluZ3M6CiAgICAtIG9uZQogICAgLSB0d2\r\n"
65 "8KICBvdGhlcnRoaW5nOiAid29vaG9vIgo=\r\n"
67 "--===============5227682047807177400==\r\n"
68 "Content-Type: text/x-ipxe; charset=\"utf-8\"\r\n"
69 "MIME-Version: 1.0\r\n"
70 "Content-Transfer-Encoding: base64\r\n"
71 "Content-Disposition: attachment; filename=\"hw.ipxe\"\r\n"
73 "IyFpcHhlCgplY2hvIEhlbGxvIHdvcmxkCnNoZWxsCg==\r\n"
75 "--===============5227682047807177400==--\r\n" ),
76 TEXTFILE (
"Content-Type: text/x-ipxe; charset=\"utf-8\"\r\n"
77 "MIME-Version: 1.0\r\n"
78 "Content-Transfer-Encoding: base64\r\n"
79 "Content-Disposition: attachment; filename=\"hw.ipxe\"\r\n"
81 "IyFpcHhlCgplY2hvIEhlbGxvIHdvcmxkCnNoZWxsCg==\r\n"
86 TEXTFILE (
"Content-Type: text/x-ipxe; charset=\"utf-8\"\r\n"
87 "MIME-Version: 1.0\r\n"
90 "echo Default encoding\r\n" ),
92 "echo Default encoding\r\n" ) );
#define NULL
NULL pointer (VOID *).
#define archive_ok(test)
Report an archive extraction test result.
#define ARCHIVE_TEST(name, TYPE, ARCHIVE_NAME, EXTRACT_NAME, EXPECTED_NAME, ARCHIVE, EXPECTED)
Define an archive extraction test.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
static void mime_test_exec(void)
Perform mime self-test.
Self-test infrastructure.
#define __self_test
Declare a self-test.
#define TEXTFILE(text)
Define inline text file content.