File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test959
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: </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 sender (host part only)
   32:  </name>
   33: <stdin>
   34: From: different
   35: To: another
   36: 
   37: body
   38: </stdin>
   39: <command>
   40: smtp://%HOSTIP:%SMTPPORT/959 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -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 959
   53: MAIL FROM:<sender@åäö.se>
   54: QUIT
   55: </protocol>
   56: </verify>
   57: </testcase>

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