summaryrefslogtreecommitdiffstats
path: root/share/extensions/tests/data/cmd/ps2pdf
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/tests/data/cmd/ps2pdf')
-rw-r--r--share/extensions/tests/data/cmd/ps2pdf/43caf043a269fc0e77f8633cd2ad4a88.msg59
-rw-r--r--share/extensions/tests/data/cmd/ps2pdf/9f4cd3145afec1e2a294713237712f4c.msg60
2 files changed, 119 insertions, 0 deletions
diff --git a/share/extensions/tests/data/cmd/ps2pdf/43caf043a269fc0e77f8633cd2ad4a88.msg b/share/extensions/tests/data/cmd/ps2pdf/43caf043a269fc0e77f8633cd2ad4a88.msg
new file mode 100644
index 0000000..4cee228
--- /dev/null
+++ b/share/extensions/tests/data/cmd/ps2pdf/43caf043a269fc0e77f8633cd2ad4a88.msg
@@ -0,0 +1,59 @@
+Content-Type: multipart/mixed; boundary="--CALLDATA--//--CALLDATA--"
+MIME-Version: 1.0
+Program: ps2pdf
+Arguments: test.ps output.pdf
+
+----CALLDATA--//--CALLDATA--
+Content-Type: application/octet-stream; Name="output.pdf"
+MIME-Version: 1.0
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment
+Filename: output.pdf
+
+JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29k
+ZT4+CnN0cmVhbQp4nF2PTQ5CIQyE9z1FT1CHf3oMvQKJzwVvod4/ERCIMQToV8LM9MkQw+hr3uWk
+yy3x8SaIAk5bW8LYr4NMFG9gWTP4JDVJnB9QSW178zpInZMUWJOVqLoxOgnKhSbbcdaFxkv0uclN
+oabttPPXZWHZIVanUquAlHcHWwzTpRCWf+3lTLY+9tC/sxV6/M16pyt9AC7dOuplbmRzdHJlYW0K
+ZW5kb2JqCjYgMCBvYmoKMTUwCmVuZG9iago0IDAgb2JqCjw8L1R5cGUvUGFnZS9NZWRpYUJveCBb
+MCAwIDk0IDk4XQovUGFyZW50IDMgMCBSCi9SZXNvdXJjZXM8P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bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
+ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9
+J3cnPz4KZW5kc3RyZWFtCmVuZG9iagoyIDAgb2JqCjw8L1Byb2R1Y2VyKEdQTCBHaG9zdHNjcmlw
+dCA5LjI2KQovQ3JlYXRpb25EYXRlKEQ6MjAyMDA0MDMyMDQyMjctMDQnMDAnKQovTW9kRGF0ZShE
+OjIwMjAwNDAzMjA0MjI3LTA0JzAwJykKL0NyZWF0b3IoY2Fpcm8gMS4xNS4xMCBcKGh0dHA6Ly9j
+YWlyb2dyYXBoaWNzLm9yZ1wpKT4+ZW5kb2JqCnhyZWYKMCAxMAowMDAwMDAwMDAwIDY1NTM1IGYg
+CjAwMDAwMDA0NDIgMDAwMDAgbiAKMDAwMDAwMjAxOCAwMDAwMCBuIAowMDAwMDAwMzgzIDAwMDAw
+IG4gCjAwMDAwMDAyNTQgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwMjM1IDAw
+MDAwIG4gCjAwMDAwMDA1MDYgMDAwMDAgbiAKMDAwMDAwMDU0NyAwMDAwMCBuIAowMDAwMDAwNTc2
+IDAwMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgMTAgL1Jvb3QgMSAwIFIgL0luZm8gMiAwIFIKL0lE
+IFs8NzQ4MjJGMzlFRDU0RTBBNDQ2RTFBNTIzRDQxRjIwMUE+PDc0ODIyRjM5RUQ1NEUwQTQ0NkUx
+QTUyM0Q0MUYyMDFBPl0KPj4Kc3RhcnR4cmVmCjIxOTQKJSVFT0YK
+
+----CALLDATA--//--CALLDATA----
diff --git a/share/extensions/tests/data/cmd/ps2pdf/9f4cd3145afec1e2a294713237712f4c.msg b/share/extensions/tests/data/cmd/ps2pdf/9f4cd3145afec1e2a294713237712f4c.msg
new file mode 100644
index 0000000..1ecb16e
--- /dev/null
+++ b/share/extensions/tests/data/cmd/ps2pdf/9f4cd3145afec1e2a294713237712f4c.msg
@@ -0,0 +1,60 @@
+Content-Type: multipart/mixed; boundary="--CALLDATA--//--CALLDATA--"
+MIME-Version: 1.0
+Program: ps2pdf
+Arguments: test.eps output.pdf
+
+----CALLDATA--//--CALLDATA--
+Content-Type: application/octet-stream; Name="output.pdf"
+MIME-Version: 1.0
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment
+Filename: output.pdf
+
+JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29k
+ZT4+CnN0cmVhbQp4nF2PSw4CMQiG95yCEyD0ORxDNx6g0XHRMRm9fyId28YY0paPwg/syCTIzfpb
+NjhdMq5v2KGxBjsL4+uGV3wCU4rOh2D5C7vsmxNFsii+VpBEQdgdBRuoZLKEBhXU2V/Qg9R7yhE1
+O0qqE5OnqFigszvuOlACpbCYXBcyba+Nv10GljnEiFQwjzkvM8JTjHuXYrv2/rW5fbJR2Ib+3a3A
+42/XO5zNPsecQcxlbmRzdHJlYW0KZW5kb2JqCjYgMCBvYmoKMTcxCmVuZG9iago0IDAgb2JqCjw8
+L1R5cGUvUGFnZS9NZWRpYUJveCBbMCAwIDYxMiA3OTJdCi9QYXJlbnQgMyAwIFIKL1Jlc291cmNl
+czw8L1Byb2NTZXRbL1BERl0KL0V4dEdTdGF0ZSA4IDAgUgo+PgovQ29udGVudHMgNSAwIFIKPj4K
+ZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFsKNCAwIFIKXSAvQ291bnQgMQo+
+PgplbmRvYmoKMSAwIG9iago8PC9UeXBlIC9DYXRhbG9nIC9QYWdlcyAzIDAgUgovTWV0YWRhdGEg
+OSAwIFIKPj4KZW5kb2JqCjcgMCBvYmoKPDw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