aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test810
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/test810
parent409867e62bf1b12e0fa0d39007256b5807a60cea (diff)
downloadgnurl-ef1c18b952de0763037b7c940cc6960bbf990912.tar.gz
gnurl-ef1c18b952de0763037b7c940cc6960bbf990912.tar.bz2
gnurl-ef1c18b952de0763037b7c940cc6960bbf990912.zip
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/test810')
-rw-r--r--tests/data/test81045
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test810 b/tests/data/test810
new file mode 100644
index 000000000..d4f75972a
--- /dev/null
+++ b/tests/data/test810
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+POP3
+LIST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+# When doing LIST, we get the default list output hard-coded in the test
+# POP3 server
+<datacheck>
+1 100
+2 4294967400
+4 200
+</datacheck>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+ <name>
+POP3 LIST messages
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT/ -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+USER user
+PASS secret
+LIST
+QUIT
+</protocol>
+</verify>
+</testcase>