aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test812
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-03-18 13:59:48 -0700
committerDan Fandrich <dan@coneharvesters.com>2011-03-18 13:59:48 -0700
commit7f57fb359d583d646494c6afb1c8e0d3c0c49c6b (patch)
tree096dc0c8a98b921a3eb0ced5eadb17763cf63e41 /tests/data/test812
parent663a52c2f88637c773f610d0e8e610de0ad65425 (diff)
Added two more POP3 tests
Diffstat (limited to 'tests/data/test812')
-rw-r--r--tests/data/test81245
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test812 b/tests/data/test812
new file mode 100644
index 000000000..eb2a83669
--- /dev/null
+++ b/tests/data/test812
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+POP3
+RETR
+FAILURE
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<servercmd>
+REPLY RETR -ERR no such message
+</servercmd>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+ <name>
+POP3 RETR invalid message
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT/812 -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+56
+</errorcode>
+<protocol>
+USER user
+PASS secret
+RETR 812
+QUIT
+</protocol>
+</verify>
+</testcase>