From daa182afa6748e2596a46388a652aed925b5947b Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 9 Feb 2014 21:01:37 +0000 Subject: tests: Added test for IMAP LSUB command --- tests/data/Makefile.am | 2 +- tests/data/test807 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 tests/data/test807 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 @@ + + + +IMAP +LSUB +CUSTOMREQUEST + + + +# +# Server-side + + +* LSUB () "/" /807/blurdybloop +* LSUB (\Noselect) "/" /807/foo +* LSUB () "/" /807/foo/bar + + + +# +# Client-side + + +imap + + +IMAP LSUB mailbox + + +imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "807" *' + + + +# +# Verify data after the test has been "shot" + + +A001 CAPABILITY +A002 LOGIN user secret +A003 LSUB "807" * +A004 LOGOUT + + + -- cgit v1.2.3