Debian Codegraph @

deps/curl/tests/data/test960

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