diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-12-20 11:07:04 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-12-20 11:07:04 +0000 |
commit | 2a3dafc0cdb7f65c19835a1246623186a05073a8 (patch) | |
tree | 183293026b298f6e5bfd6af5d830f86a7f858bfd /tests/data/test801 | |
parent | f912f8d5d22ab9ceaef77b5e7f6666f286401782 (diff) |
introducing the first IMAP FETCH test
Diffstat (limited to 'tests/data/test801')
-rw-r--r-- | tests/data/test801 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tests/data/test801 b/tests/data/test801 new file mode 100644 index 000000000..271d8d1f7 --- /dev/null +++ b/tests/data/test801 @@ -0,0 +1,47 @@ +<testcase> +<info> +<keywords> +IMAP +FETCH +</keywords> +</info> + +# +# Server-side +<reply> +<data> +From: me@somewhere +To: fake@nowhere + +body + +-- + yours sincerely +</data> +</reply> + +# +# Client-side +<client> +<server> +imap +</server> + <name> +IMAP FETCH + </name> + <command> +imap://%HOSTIP:%IMAPPORT/801 -u user:secret +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +B LOGIN user secret
+C SELECT 801
+D FETCH 1 BODY[TEXT]
+A LOGOUT
+</protocol> +</verify> +</testcase> |