mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
90756d33d8
New tests 987, 988 and 989, disabled for rustls (hanging). Closes #10077
49 lines
628 B
Plaintext
49 lines
628 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
IMAPS
|
|
FETCH
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
From: me@somewhere
|
|
To: fake@nowhere
|
|
|
|
body
|
|
|
|
--
|
|
yours sincerely
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
imaps
|
|
</server>
|
|
<name>
|
|
IMAPS FETCH with redundant explicit SSL request
|
|
</name>
|
|
<command>
|
|
-k --ssl-reqd -u '"user:sec"ret{' 'imaps://%HOSTIP:%IMAPSPORT/%TESTNUMBER/;MAILINDEX=1'
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
A001 CAPABILITY
|
|
A002 LOGIN "\"user" "sec\"ret{"
|
|
A003 SELECT %TESTNUMBER
|
|
A004 FETCH 1 BODY[]
|
|
A005 LOGOUT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|