diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test912 | 55 |
2 files changed, 56 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 2d5fe4224..d11ce61a3 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -70,7 +70,7 @@ test850 test851 test852 test853 test854 test855 test856 test857 test858 \ test859 test860 test861 test862 \ \ test900 test901 test902 test903 test904 test905 test906 test907 test908 \ -test909 test910 test911 \ +test909 test910 test911 test912 \ \ test1000 test1001 test1002 test1003 test1004 test1005 test1006 test1007 \ test1008 test1009 test1010 test1011 test1012 test1013 test1014 test1015 \ diff --git a/tests/data/test912 b/tests/data/test912 new file mode 100644 index 000000000..beea8a246 --- /dev/null +++ b/tests/data/test912 @@ -0,0 +1,55 @@ +<testcase> +<info> +<keywords> +SMTP +SIZE
+</keywords> +</info> + +# +# Server-side +<reply> +<servercmd> +CAPA SIZE +</servercmd> +</reply> + +# +# Client-side +<client> +<server> +smtp +</server> + <name> +SMTP with SIZE support + </name> +<file name="log/test912.eml"> +From: different
+To: another
+
+body
+</file> + <command> +smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 912@foo --mail-from 912@from -T log/test912.eml +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +EHLO user
+MAIL FROM:<912@from> SIZE=38
+RCPT TO:<912@foo>
+DATA
+QUIT
+</protocol> +<upload> +From: different
+To: another
+
+body
+.
+</upload> +</verify> +</testcase> |