xref: /aosp_15_r20/external/curl/tests/data/test981 (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 WorkerCAPA STARTTLS
14*6236dae4SAndroid Build Coastguard WorkerREPLY STARTTLS A002 BAD currently unavailable\r\nA003 OK Authenticated\r\nA004 OK Accepted
15*6236dae4SAndroid Build Coastguard WorkerREPLY LOGIN A003 BAD Authentication credentials invalid
16*6236dae4SAndroid Build Coastguard Worker</servercmd>
17*6236dae4SAndroid Build Coastguard Worker</reply>
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker#
20*6236dae4SAndroid Build Coastguard Worker# Client-side
21*6236dae4SAndroid Build Coastguard Worker<client>
22*6236dae4SAndroid Build Coastguard Worker<features>
23*6236dae4SAndroid Build Coastguard WorkerSSL
24*6236dae4SAndroid Build Coastguard Worker</features>
25*6236dae4SAndroid Build Coastguard Worker<server>
26*6236dae4SAndroid Build Coastguard Workerimap
27*6236dae4SAndroid Build Coastguard Worker</server>
28*6236dae4SAndroid Build Coastguard Worker<name>
29*6236dae4SAndroid Build Coastguard WorkerIMAP STARTTLS pipelined server response
30*6236dae4SAndroid Build Coastguard Worker</name>
31*6236dae4SAndroid Build Coastguard Worker<command>
32*6236dae4SAndroid Build Coastguard Workerimap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --ssl
33*6236dae4SAndroid Build Coastguard Worker</command>
34*6236dae4SAndroid Build Coastguard Worker<file name="%LOGDIR/upload%TESTNUMBER">
35*6236dae4SAndroid Build Coastguard WorkerDate: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
36*6236dae4SAndroid Build Coastguard WorkerFrom: Fred Foobar <[email protected]>
37*6236dae4SAndroid Build Coastguard WorkerSubject: afternoon meeting
38*6236dae4SAndroid Build Coastguard WorkerTo: [email protected]
39*6236dae4SAndroid Build Coastguard WorkerMessage-Id: <[email protected]>
40*6236dae4SAndroid Build Coastguard WorkerMIME-Version: 1.0
41*6236dae4SAndroid Build Coastguard WorkerContent-Type: TEXT/PLAIN; CHARSET=US-ASCII
42*6236dae4SAndroid Build Coastguard Worker
43*6236dae4SAndroid Build Coastguard WorkerHello Joe, do you think we can meet at 3:30 tomorrow?
44*6236dae4SAndroid Build Coastguard Worker</file>
45*6236dae4SAndroid Build Coastguard Worker</client>
46*6236dae4SAndroid Build Coastguard Worker
47*6236dae4SAndroid Build Coastguard Worker#
48*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
49*6236dae4SAndroid Build Coastguard Worker<verify>
50*6236dae4SAndroid Build Coastguard Worker# 8 is CURLE_WEIRD_SERVER_REPLY
51*6236dae4SAndroid Build Coastguard Worker<errorcode>
52*6236dae4SAndroid Build Coastguard Worker8
53*6236dae4SAndroid Build Coastguard Worker</errorcode>
54*6236dae4SAndroid Build Coastguard Worker<protocol>
55*6236dae4SAndroid Build Coastguard WorkerA001 CAPABILITY
56*6236dae4SAndroid Build Coastguard WorkerA002 STARTTLS
57*6236dae4SAndroid Build Coastguard Worker</protocol>
58*6236dae4SAndroid Build Coastguard Worker</verify>
59*6236dae4SAndroid Build Coastguard Worker</testcase>
60