Debian Codegraph @

deps/curl/tests/data/test955

raw
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 <features>
20 !win32
21 </features>
22 <setenv>
23 LC_ALL=en_US.UTF-8
24 LC_CTYPE=en_US.UTF-8
25 </setenv>
26 <precheck>
27 perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
28 </precheck>
29 <name>
30 SMTP without SMTPUTF8 support - UTF-8 based sender (local part only)
31 </name>
32 <stdin>
33 From: different
34 To: another
35
36 body
37 </stdin>
38 <command>
39 smtp://%HOSTIP:%SMTPPORT/955 --mail-rcpt [email protected] --mail-from Avsä[email protected] -T -
40 </command>
41 </client>
42
43 #
44 # Verify data after the test has been "shot"
45 <verify>
46 # 55 - CURLE_SEND_ERROR
47 <errorcode>
48 55
49 </errorcode>
50 <protocol>
51 EHLO 955
52 MAIL FROM:<Avsä[email protected]>
53 QUIT
54 </protocol>
55 </verify>
56 </testcase>