diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-02-09 21:01:37 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-02-09 21:21:10 +0000 |
commit | daa182afa6748e2596a46388a652aed925b5947b (patch) | |
tree | 94ede48c35dbea48ff74ccf58a36bbd66228a709 /tests | |
parent | 230e872dbdaa7f0a86382862375b47ff9f175fc3 (diff) |
tests: Added test for IMAP LSUB command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/Makefile.am | 2 | ||||
-rw-r--r-- | tests/data/test807 | 44 |
2 files changed, 45 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 6ed550c16..d526a4b69 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -63,7 +63,7 @@ test635 test636 test637 test638 test639 \ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 \ \ -test800 test801 test802 test803 test804 test805 test806 test808 \ +test800 test801 test802 test803 test804 test805 test806 test807 test808 \ test809 test810 test811 test812 test813 test814 test815 test816 test817 \ test818 test819 test820 test821 test822 test823 test824 test825 test826 \ test827 test828 test829 test830 test831 test832 test833 test834 test835 \ diff --git a/tests/data/test807 b/tests/data/test807 new file mode 100644 index 000000000..20e96d114 --- /dev/null +++ b/tests/data/test807 @@ -0,0 +1,44 @@ +<testcase> +<info> +<keywords> +IMAP +LSUB +CUSTOMREQUEST
+</keywords> +</info> + +# +# Server-side +<reply> +<data> +* LSUB () "/" /807/blurdybloop
+* LSUB (\Noselect) "/" /807/foo
+* LSUB () "/" /807/foo/bar
+</data> +</reply> + +# +# Client-side +<client> +<server> +imap +</server> + <name> +IMAP LSUB mailbox + </name> + <command> +imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "807" *' +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +A001 CAPABILITY
+A002 LOGIN user secret
+A003 LSUB "807" *
+A004 LOGOUT
+</protocol> +</verify> +</testcase> |