aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test810
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-08-28 07:27:10 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-08-28 07:27:10 +0100
commit1b4dc103937dbda3b5ee2b486c2f068bf6f6ebd8 (patch)
treeab5208533cfe3123e1f9b681cdf6f89420f1a925 /tests/data/test810
parent45b6e2dd89dba23eb4e30338abd9c5402a7e0578 (diff)
tests: Added test for IMAP SEARCH command
Diffstat (limited to 'tests/data/test810')
-rw-r--r--tests/data/test81043
1 files changed, 43 insertions, 0 deletions
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 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+SEARCH
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+* SEARCH 1 123 456 810
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP SEARCH (CUSTOMREQUEST)
+ </name>
+ <command>
+imap://%HOSTIP:%IMAPPORT/810 -u user:secret -X 'SEARCH NEW'
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 SELECT 810
+A004 SEARCH NEW
+A005 LOGOUT
+</protocol>
+</verify>
+</testcase>