xref: /aosp_15_r20/external/curl/tests/data/test984 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerIMAP
5*6236dae4SAndroid Build Coastguard WorkerSTARTTLS
6*6236dae4SAndroid Build Coastguard Worker</keywords>
7*6236dae4SAndroid Build Coastguard Worker</info>
8*6236dae4SAndroid Build Coastguard Worker
9*6236dae4SAndroid Build Coastguard Worker#
10*6236dae4SAndroid Build Coastguard Worker# Server-side
11*6236dae4SAndroid Build Coastguard Worker<reply>
12*6236dae4SAndroid Build Coastguard Worker<servercmd>
13*6236dae4SAndroid Build Coastguard WorkerREPLY CAPABILITY A001 BAD Not implemented
14*6236dae4SAndroid Build Coastguard Worker</servercmd>
15*6236dae4SAndroid Build Coastguard Worker</reply>
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker#
18*6236dae4SAndroid Build Coastguard Worker# Client-side
19*6236dae4SAndroid Build Coastguard Worker<client>
20*6236dae4SAndroid Build Coastguard Worker<features>
21*6236dae4SAndroid Build Coastguard WorkerSSL
22*6236dae4SAndroid Build Coastguard Worker</features>
23*6236dae4SAndroid Build Coastguard Worker<server>
24*6236dae4SAndroid Build Coastguard Workerimap
25*6236dae4SAndroid Build Coastguard Worker</server>
26*6236dae4SAndroid Build Coastguard Worker<name>
27*6236dae4SAndroid Build Coastguard WorkerIMAP require STARTTLS with failing capabilities
28*6236dae4SAndroid Build Coastguard Worker</name>
29*6236dae4SAndroid Build Coastguard Worker<command>
30*6236dae4SAndroid Build Coastguard Workerimap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl-reqd
31*6236dae4SAndroid Build Coastguard Worker</command>
32*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/upload%TESTNUMBER">
33*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
34*6236dae4SAndroid Build Coastguard WorkerFrom: Fred Foobar <[email protected]>
35*6236dae4SAndroid Build Coastguard WorkerSubject: afternoon meeting
36*6236dae4SAndroid Build Coastguard WorkerTo: [email protected]
37*6236dae4SAndroid Build Coastguard WorkerMessage-Id: <[email protected]>
38*6236dae4SAndroid Build Coastguard WorkerMIME-Version: 1.0
39*6236dae4SAndroid Build Coastguard WorkerContent-Type: TEXT/PLAIN; CHARSET=US-ASCII
40*6236dae4SAndroid Build Coastguard Worker
41*6236dae4SAndroid Build Coastguard WorkerHello Joe, do you think we can meet at 3:30 tomorrow?
42*6236dae4SAndroid Build Coastguard Worker</file>
43*6236dae4SAndroid Build Coastguard Worker</client>
44*6236dae4SAndroid Build Coastguard Worker
45*6236dae4SAndroid Build Coastguard Worker#
46*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
47*6236dae4SAndroid Build Coastguard Worker<verify>
48*6236dae4SAndroid Build Coastguard Worker# 64 is CURLE_USE_SSL_FAILED
49*6236dae4SAndroid Build Coastguard Worker<errorcode>
50*6236dae4SAndroid Build Coastguard Worker64
51*6236dae4SAndroid Build Coastguard Worker</errorcode>
52*6236dae4SAndroid Build Coastguard Worker<protocol>
53*6236dae4SAndroid Build Coastguard WorkerA001 CAPABILITY
54*6236dae4SAndroid Build Coastguard Worker</protocol>
55*6236dae4SAndroid Build Coastguard Worker</verify>
56*6236dae4SAndroid Build Coastguard Worker</testcase>
57