aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test809
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-03-17 16:59:30 -0700
committerDan Fandrich <dan@coneharvesters.com>2011-03-17 16:59:30 -0700
commitef1c18b952de0763037b7c940cc6960bbf990912 (patch)
treeffa970c9b44bdf94c3480529c52b50ad2d60137c /tests/data/test809
parent409867e62bf1b12e0fa0d39007256b5807a60cea (diff)
Added support for LISTing a single POP3 message
Added tests for a number of POP3 LIST operations, including one that shows a curl problem when listing no messages, so is disabled.
Diffstat (limited to 'tests/data/test809')
-rw-r--r--tests/data/test80945
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test809 b/tests/data/test809
new file mode 100644
index 000000000..29358e00c
--- /dev/null
+++ b/tests/data/test809
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+POP3
+LIST
+FAILURE
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<servercmd>
+REPLY LIST -ERR no such message
+</servercmd>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+ <name>
+POP3 LIST invalid message
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT/809 -l -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+78
+</errorcode>
+<protocol>
+USER user
+PASS secret
+LIST 809
+QUIT
+</protocol>
+</verify>
+</testcase>