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/test807 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tests/data/test807 (limited to 'tests/data/test807') 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