diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-12-29 21:28:53 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-12-29 21:28:53 +0000 |
commit | 7cd5ffc1bf9ea4fc9b17ce8f2accd5e4efb69d82 (patch) | |
tree | 42606404105ee72a791648ae18e1a641f19ba42b /tests/data/test802 | |
parent | fa6631edd5a16b11247fa655e69f91ea38ceb44f (diff) |
test 802 is the first SMTP test, although not strictly SMTP yet...
Diffstat (limited to 'tests/data/test802')
-rw-r--r-- | tests/data/test802 | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test802 b/tests/data/test802 new file mode 100644 index 000000000..9c7013a5c --- /dev/null +++ b/tests/data/test802 @@ -0,0 +1,48 @@ +<testcase> +<info> +<keywords> +SMTP +</keywords> +</info> + +# +# Server-side +<reply> +</reply> + +# +# Client-side +<client> +<server> +smtp +</server> + <name> +SMTP + </name> +<stdin> +From: different +To: another + +body +</stdin> + <command> +smtp://%HOSTIP:%SMTPPORT -u user:secret --mail-rcpt 802@foo --mail-from 802@from -T - +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +EHLO user
+MAIL FROM:802@from
+RCPT TO:802@foo
+DATA
+From: different +To: another + +body +QUIT
+</protocol> +</verify> +</testcase> |