File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test955
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: !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 recipient@example.com --mail-from Avsändaren@example.com -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ändaren@example.com>
   53: QUIT
   54: </protocol>
   55: </verify>
   56: </testcase>

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