summaryrefslogtreecommitdiff
path: root/tests/data/test924
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-16 12:00:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-16 12:20:22 +0000
commit3d50e91aeef8cc7c67b13d712f3e77c6a0c83569 (patch)
tree4c50a26b067db7692fb1280ec3e990a986b9d8b2 /tests/data/test924
parent0cbfe5a7d58ba44f05ad5c982b2e5a6d5babff49 (diff)
downloadcurl-3d50e91aeef8cc7c67b13d712f3e77c6a0c83569.tar.gz
tests: Added SMTP VRFY command tests
Diffstat (limited to 'tests/data/test924')
-rw-r--r--tests/data/test92441
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test924 b/tests/data/test924
new file mode 100644
index 000000000..ec07ccd9e
--- /dev/null
+++ b/tests/data/test924
@@ -0,0 +1,41 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+VRFY
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+553-Ambiguous; Possibilities are:
+553-Joe Smith <joe.smith@example.com>
+553-Harry Smith <harry.smith@example.com>
+553 Melvin Smith <melvin.smith@example.com>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP ambiguous VRFY
+ </name>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/924 --mail-rcpt smith
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO 924
+VRFY smith
+QUIT
+</protocol>
+</verify>
+</testcase>