Imported Upstream version 7.40.0
[platform/upstream/curl.git] / tests / data / test927
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 EXPN
6 CUSTOMREQUEST
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <data>
14 250-Joe Smith <joe.smith@example.com>\r
15 250-Harry Smith <harry.smith@example.com>\r
16 250 Melvin Smith <melvin.smith@example.com>\r
17 </data>
18 </reply>
19
20 #
21 # Client-side
22 <client>
23 <server>
24 smtp
25 </server>
26  <name>
27 SMTP mailing list EXPN (CUSTOMREQUEST)
28  </name>
29  <command>
30 smtp://%HOSTIP:%SMTPPORT/927 --mail-rcpt Friends -X EXPN
31 </command>
32 </client>
33
34 #
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 EHLO 927\r
39 EXPN Friends\r
40 QUIT\r
41 </protocol>
42 </verify>
43 </testcase>