mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +03:00
tests: Added imap STATUS command test
This commit is contained in:
parent
f317ffb7bb
commit
b56e3d43e5
3 changed files with 70 additions and 0 deletions
|
|
@ -64,6 +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 \
|
||||
\
|
||||
test850 test851 test852 test853 test854 test855 test856 test857 \
|
||||
\
|
||||
|
|
|
|||
42
tests/data/test809
Normal file
42
tests/data/test809
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
IMAP
|
||||
STATUS
|
||||
CUSTOMREQUEST
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data>
|
||||
* STATUS 809 (MESSAGES 231 UIDNEXT 44292)
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
imap
|
||||
</server>
|
||||
<name>
|
||||
IMAP STATUS (CUSTOMREQUEST)
|
||||
</name>
|
||||
<command>
|
||||
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)'
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
A001 CAPABILITY
|
||||
A002 LOGIN user secret
|
||||
A003 STATUS 809 (UIDNEXT MESSAGES)
|
||||
A004 LOGOUT
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue