diff options
Diffstat (limited to 'tests/data/test911')
-rw-r--r-- | tests/data/test911 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test911 b/tests/data/test911 new file mode 100644 index 00000000..cc87349b --- /dev/null +++ b/tests/data/test911 @@ -0,0 +1,47 @@ +<testcase> +<info> +<keywords> +SMTP +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +smtp +</server> + <name> +SMTP with no mail data + </name> + +<stdin nonewline="yes"> + +</stdin> + + <command> +smtp://%HOSTIP:%SMTPPORT/911 --mail-rcpt recipient@example.com --mail-from sender@example.com -T - +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +EHLO 911
+MAIL FROM:<sender@example.com>
+RCPT TO:<recipient@example.com>
+DATA
+QUIT
+</protocol> +<upload> +
+.
+</upload> +</verify> +</testcase> |