xref: /third_party/curl/tests/data/test984 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciIMAP
513498266Sopenharmony_ciSTARTTLS
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci#
1013498266Sopenharmony_ci# Server-side
1113498266Sopenharmony_ci<reply>
1213498266Sopenharmony_ci<servercmd>
1313498266Sopenharmony_ciREPLY CAPABILITY A001 BAD Not implemented
1413498266Sopenharmony_ci</servercmd>
1513498266Sopenharmony_ci</reply>
1613498266Sopenharmony_ci
1713498266Sopenharmony_ci#
1813498266Sopenharmony_ci# Client-side
1913498266Sopenharmony_ci<client>
2013498266Sopenharmony_ci<features>
2113498266Sopenharmony_ciSSL
2213498266Sopenharmony_ci</features>
2313498266Sopenharmony_ci<server>
2413498266Sopenharmony_ciimap
2513498266Sopenharmony_ci</server>
2613498266Sopenharmony_ci<name>
2713498266Sopenharmony_ciIMAP require STARTTLS with failing capabilities
2813498266Sopenharmony_ci</name>
2913498266Sopenharmony_ci<command>
3013498266Sopenharmony_ciimap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl-reqd
3113498266Sopenharmony_ci</command>
3213498266Sopenharmony_ci<file name="%LOGDIR/upload%TESTNUMBER">
3313498266Sopenharmony_ciDate: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
3413498266Sopenharmony_ciFrom: Fred Foobar <foobar@example.COM>
3513498266Sopenharmony_ciSubject: afternoon meeting
3613498266Sopenharmony_ciTo: joe@example.com
3713498266Sopenharmony_ciMessage-Id: <B27397-0100000@example.COM>
3813498266Sopenharmony_ciMIME-Version: 1.0
3913498266Sopenharmony_ciContent-Type: TEXT/PLAIN; CHARSET=US-ASCII
4013498266Sopenharmony_ci
4113498266Sopenharmony_ciHello Joe, do you think we can meet at 3:30 tomorrow?
4213498266Sopenharmony_ci</file>
4313498266Sopenharmony_ci</client>
4413498266Sopenharmony_ci
4513498266Sopenharmony_ci#
4613498266Sopenharmony_ci# Verify data after the test has been "shot"
4713498266Sopenharmony_ci<verify>
4813498266Sopenharmony_ci# 64 is CURLE_USE_SSL_FAILED
4913498266Sopenharmony_ci<errorcode>
5013498266Sopenharmony_ci64
5113498266Sopenharmony_ci</errorcode>
5213498266Sopenharmony_ci<protocol>
5313498266Sopenharmony_ciA001 CAPABILITY
5413498266Sopenharmony_ci</protocol>
5513498266Sopenharmony_ci</verify>
5613498266Sopenharmony_ci</testcase>
57