1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
curl/tests/data/test803
Jiri Hruska 3a5530a1f3 imap: Added test802 and test803 for UIDVALIDITY verification
Added one test for a request with matching UIDVALIDITY and one which is
a mismatched request that will fail.
2013-03-10 19:57:26 +00:00

45 lines
569 B
Plaintext

<testcase>
<info>
<keywords>
IMAP
SELECT
UIDVALIDITY
FAILURE
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP SELECT UIDVALIDITY Failure
</name>
<command>
'imap://%HOSTIP:%IMAPPORT/803;UIDVALIDITY=12345/;UID=123' -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
# CURLE_REMOTE_FILE_NOT_FOUND - UIDVALIDITY mismatch
<errorcode>
78
</errorcode>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 803
A004 LOGOUT
</protocol>
</verify>
</testcase>