mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 23:55:01 -04:00
44 lines
542 B
Plaintext
44 lines
542 B
Plaintext
<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 for NEW messages (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>
|