From 1b4dc103937dbda3b5ee2b486c2f068bf6f6ebd8 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 28 Aug 2013 07:27:10 +0100 Subject: tests: Added test for IMAP SEARCH command --- tests/data/Makefile.am | 2 +- tests/data/test810 | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 tests/data/test810 (limited to 'tests') diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index e0007f406..862b22e04 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -64,7 +64,7 @@ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 \ \ test800 test801 test802 test803 test804 test805 test806 test807 test808 \ -test809 \ +test809 test810 \ \ test850 test851 test852 test853 test854 test855 test856 test857 \ \ diff --git a/tests/data/test810 b/tests/data/test810 new file mode 100644 index 000000000..6eee2be5b --- /dev/null +++ b/tests/data/test810 @@ -0,0 +1,43 @@ + + + +IMAP +SEARCH +CUSTOMREQUEST + + + +# +# Server-side + + +* SEARCH 1 123 456 810 + + + +# +# Client-side + + +imap + + +IMAP SEARCH (CUSTOMREQUEST) + + +imap://%HOSTIP:%IMAPPORT/810 -u user:secret -X 'SEARCH NEW' + + + +# +# Verify data after the test has been "shot" + + +A001 CAPABILITY +A002 LOGIN user secret +A003 SELECT 810 +A004 SEARCH NEW +A005 LOGOUT + + + -- cgit v1.2.3