xref: /aosp_15_r20/external/curl/tests/data/test1520 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker# Based off test 901 after bug report #1456
3*6236dae4SAndroid Build Coastguard Worker<info>
4*6236dae4SAndroid Build Coastguard Worker<keywords>
5*6236dae4SAndroid Build Coastguard WorkerSMTP
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# Client-side
11*6236dae4SAndroid Build Coastguard Worker<client>
12*6236dae4SAndroid Build Coastguard Worker<server>
13*6236dae4SAndroid Build Coastguard Workersmtp
14*6236dae4SAndroid Build Coastguard Worker</server>
15*6236dae4SAndroid Build Coastguard Worker<tool>
16*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
17*6236dae4SAndroid Build Coastguard Worker</tool>
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker<name>
20*6236dae4SAndroid Build Coastguard WorkerSMTP with CRLF-dot-CRLF in data
21*6236dae4SAndroid Build Coastguard Worker</name>
22*6236dae4SAndroid Build Coastguard Worker<stdin>
23*6236dae4SAndroid Build Coastguard WorkerFrom: different
24*6236dae4SAndroid Build Coastguard WorkerTo: another
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker
27*6236dae4SAndroid Build Coastguard Worker.
28*6236dae4SAndroid Build Coastguard Worker.
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard Worker.
31*6236dae4SAndroid Build Coastguard Worker
32*6236dae4SAndroid Build Coastguard Workerbody
33*6236dae4SAndroid Build Coastguard Worker</stdin>
34*6236dae4SAndroid Build Coastguard Worker<command>
35*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
36*6236dae4SAndroid Build Coastguard Worker</command>
37*6236dae4SAndroid Build Coastguard Worker</client>
38*6236dae4SAndroid Build Coastguard Worker
39*6236dae4SAndroid Build Coastguard Worker#
40*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
41*6236dae4SAndroid Build Coastguard Worker<verify>
42*6236dae4SAndroid Build Coastguard Worker<protocol>
43*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
44*6236dae4SAndroid Build Coastguard WorkerMAIL FROM:<[email protected]>
45*6236dae4SAndroid Build Coastguard WorkerRCPT TO:<[email protected]>
46*6236dae4SAndroid Build Coastguard WorkerDATA
47*6236dae4SAndroid Build Coastguard WorkerQUIT
48*6236dae4SAndroid Build Coastguard Worker</protocol>
49*6236dae4SAndroid Build Coastguard Worker<upload>
50*6236dae4SAndroid Build Coastguard WorkerFrom: different
51*6236dae4SAndroid Build Coastguard WorkerTo: another
52*6236dae4SAndroid Build Coastguard Worker
53*6236dae4SAndroid Build Coastguard Worker
54*6236dae4SAndroid Build Coastguard Worker..
55*6236dae4SAndroid Build Coastguard Worker..
56*6236dae4SAndroid Build Coastguard Worker
57*6236dae4SAndroid Build Coastguard Worker..
58*6236dae4SAndroid Build Coastguard Worker
59*6236dae4SAndroid Build Coastguard Workerbody
60*6236dae4SAndroid Build Coastguard Worker.
61*6236dae4SAndroid Build Coastguard Worker</upload>
62*6236dae4SAndroid Build Coastguard Worker</verify>
63*6236dae4SAndroid Build Coastguard Worker</testcase>
64