Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test952
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 </keywords>
6 </info>
7
8 #
9 # Server-side
10 <reply>
11 </reply>
12
13 #
14 # Client-side
15 <client>
16 <server>
17 smtp
18 </server>
19  <name>
20 SMTP data with single dot-only line
21  </name>
22 <stdin>
23 .
24 </stdin>
25 <command>
26 smtp://%HOSTIP:%SMTPPORT/952 --mail-rcpt recipient@example.com --mail-from sender@example.com -T -
27 </command>
28 </client>
29
30 #
31 # Verify data after the test has been "shot"
32 <verify>
33 <protocol>
34 EHLO 952
35 MAIL FROM:<sender@example.com>
36 RCPT TO:<recipient@example.com>
37 DATA
38 QUIT
39 </protocol>
40 <upload>
41 ..
42 .
43 </upload>
44 </verify>
45 </testcase>