mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 01:28:51 -05:00
5494afac8f
These tests are also doing UTF-8 SMTP.
Follow-up to df207d2dd9
50 lines
721 B
Plaintext
50 lines
721 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
VRFY
|
|
IDN
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<features>
|
|
idn
|
|
!win32
|
|
</features>
|
|
<setenv>
|
|
LC_ALL=en_US.UTF-8
|
|
LC_CTYPE=en_US.UTF-8
|
|
</setenv>
|
|
<precheck>
|
|
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
|
|
</precheck>
|
|
<name>
|
|
SMTP external VRFY without SMTPUTF8 support (IDN Enabled) - UTF-8 based recipient (host part only)
|
|
</name>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/964 --mail-rcpt user@åäö.se
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO 964
|
|
VRFY user@xn--4cab6c.se
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|