From: Steve Holme Date: Sun, 9 Feb 2014 21:01:37 +0000 (+0000) Subject: tests: Added test for IMAP LSUB command X-Git-Tag: upstream/7.37.1~598 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=daa182afa6748e2596a46388a652aed925b5947b;p=platform%2Fupstream%2Fcurl.git tests: Added test for IMAP LSUB command --- diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index 6ed550c..d526a4b 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 0000000..20e96d1 --- /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 + + +