File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test963
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: SMTP
    5: IDN
    6: </keywords>
    7: </info>
    8: 
    9: #
   10: # Server-side
   11: <reply>
   12: </reply>
   13: 
   14: #
   15: # Client-side
   16: <client>
   17: <server>
   18: smtp
   19: </server>
   20: <features>
   21: idn
   22: !win32
   23: </features>
   24: <setenv>
   25: LC_ALL=en_US.UTF-8
   26: LC_CTYPE=en_US.UTF-8
   27: </setenv>
   28: <precheck>
   29: perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
   30: </precheck>
   31:  <name>
   32: SMTP without SMTPUTF8 support (IDN Enabked) - UTF-8 based recipient (host part only)
   33:  </name>
   34: <stdin>
   35: From: different
   36: To: another
   37: 
   38: body
   39: </stdin>
   40: <command>
   41: smtp://%HOSTIP:%SMTPPORT/963 --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
   42: </command>
   43: </client>
   44: 
   45: #
   46: # Verify data after the test has been "shot"
   47: <verify>
   48: <protocol>
   49: EHLO 963
   50: MAIL FROM:<sender@example.com>
   51: RCPT TO:<recipient@xn--4cab6c.se>
   52: DATA
   53: QUIT
   54: </protocol>
   55: <upload>
   56: From: different
   57: To: another
   58: 
   59: body
   60: .
   61: </upload>
   62: </verify>
   63: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>