aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-17 10:13:05 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-17 12:52:42 +0000
commit2165298fe6213609460345e466e3ca9d94324965 (patch)
tree672523116e81bd9adee7f98403f64fb7544e8f48 /tests/data
parente885dc85a197d52e3c68077c6284fa47c8ebca0a (diff)
tests: Added SMTP NOOP and RSET tests
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test92937
-rw-r--r--tests/data/test93038
3 files changed, 76 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 617db7779..3342d2c3b 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -75,7 +75,7 @@ test868 test869 test870 test871 test872 test873 test874 \
test900 test901 test902 test903 test904 test905 test906 test907 test908 \
test909 test910 test911 test912 test913 test914 test915 test916 test917 \
test918 test919 test920 test921 test922 test923 test924 test925 test926 \
-test927 test928 \
+test927 test928 test929 test930 \
\
test1000 test1001 test1002 test1003 test1004 test1005 test1006 test1007 \
test1008 test1009 test1010 test1011 test1012 test1013 test1014 test1015 \
diff --git a/tests/data/test929 b/tests/data/test929
new file mode 100644
index 000000000..6f0c45133
--- /dev/null
+++ b/tests/data/test929
@@ -0,0 +1,37 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+NOOP
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP NOOP (CUSTOMREQUEST)
+ </name>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/929 -X NOOP -I
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO 929
+NOOP
+QUIT
+</protocol>
+</verify>
diff --git a/tests/data/test930 b/tests/data/test930
new file mode 100644
index 000000000..be633c1fa
--- /dev/null
+++ b/tests/data/test930
@@ -0,0 +1,38 @@
+<testcase>
+<info>
+<keywords>
+SMTP
+RSET
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+smtp
+</server>
+ <name>
+SMTP RSET (CUSTOMREQUEST)
+ </name>
+ <command>
+smtp://%HOSTIP:%SMTPPORT/930 -X RSET -I
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+EHLO 930
+RSET
+QUIT
+</protocol>
+</verify>
+</testcase>