aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test801
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test801')
-rw-r--r--tests/data/test80147
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test801 b/tests/data/test801
new file mode 100644
index 000000000..271d8d1f7
--- /dev/null
+++ b/tests/data/test801
@@ -0,0 +1,47 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+FETCH
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP FETCH
+ </name>
+ <command>
+imap://%HOSTIP:%IMAPPORT/801 -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+B LOGIN user secret
+C SELECT 801
+D FETCH 1 BODY[TEXT]
+A LOGOUT
+</protocol>
+</verify>
+</testcase>