mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +03:00
tests: Added test for IMAP COPY command
This commit is contained in:
parent
66b8557aff
commit
a84a09ad0b
2 changed files with 40 additions and 1 deletions
39
tests/data/test817
Normal file
39
tests/data/test817
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
IMAP
|
||||
COPY
|
||||
CUSTOMREQUEST
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
imap
|
||||
</server>
|
||||
<name>
|
||||
IMAP COPY message to mailbox (CUSTOMREQUEST)
|
||||
</name>
|
||||
<command>
|
||||
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'COPY 123 817'
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
A001 CAPABILITY
|
||||
A002 LOGIN user secret
|
||||
A003 COPY 123 817
|
||||
A004 LOGOUT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue