aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test927
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-16 12:10:15 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-17 00:20:58 +0000
commitb56d7cda741971d5737c326d9452bfe5836bf989 (patch)
tree3c88a6106641a71a33d0faa7aa3f6b5681920b33 /tests/data/test927
parent8896b56488d8b3b67eb3be0b13d973134071a0c9 (diff)
tests: Added SMTP EXPN command test
Diffstat (limited to 'tests/data/test927')
-rw-r--r--tests/data/test92743
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test927 b/tests/data/test927
new file mode 100644
index 000000000..b1997102e
--- /dev/null
+++ b/tests/data/test927
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+EXPN
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+250-Joe Smith <joe.smith@example.com>
+250-Harry Smith <harry.smith@example.com>
+250 Melvin Smith <melvin.smith@example.com>
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP mailing list EXPN (CUSTOMREQUEST)
+ </name>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/927 --mail-rcpt Friends -X EXPN
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO 927
+EXPN Friends
+QUIT
+</protocol>
+</verify>
+</testcase>