aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test864
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-19 12:20:00 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-10-19 12:20:00 +0100
commit1034aa6680ba7dd88306fee036c1e543d8026543 (patch)
treea790972d3a2020a2de9f3de58438c1de9ba81e17 /tests/data/test864
parent4be0af7f7464ba906dfedede53e0eda10d43bbdd (diff)
tests: Added POP3 APOP authentication test
Diffstat (limited to 'tests/data/test864')
-rw-r--r--tests/data/test86453
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/test864 b/tests/data/test864
new file mode 100644
index 000000000..c4cb61f67
--- /dev/null
+++ b/tests/data/test864
@@ -0,0 +1,53 @@
+<testcase>
+<info>
+<keywords>
+POP3
+POP3 APOP
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<servercmd>
+CAPA APOP
+</servercmd>
+<data>
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+pop3
+</server>
+<features>
+crypto
+</features>
+ <name>
+POP3 APOP authentication
+ </name>
+ <command>
+pop3://%HOSTIP:%POP3PORT/864 -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+CAPA
+APOP user 7501b4cdc224d469940e65e7b5e4d6eb
+RETR 864
+QUIT
+</protocol>
+</verify>
+</testcase>