Return to test962 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 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 - UTF-8 based sender (host part only) ! 33: </name> ! 34: <stdin> ! 35: From: different ! 36: To: another ! 37: ! 38: body ! 39: </stdin> ! 40: <command> ! 41: smtp://%HOSTIP:%SMTPPORT/962 --mail-rcpt recipient@example.com --mail-from sender@åäö.se -T - ! 42: </command> ! 43: </client> ! 44: ! 45: # ! 46: # Verify data after the test has been "shot" ! 47: <verify> ! 48: <protocol> ! 49: EHLO 962 ! 50: MAIL FROM:<sender@xn--4cab6c.se> ! 51: RCPT TO:<recipient@example.com> ! 52: DATA ! 53: QUIT ! 54: </protocol> ! 55: <upload> ! 56: From: different ! 57: To: another ! 58: ! 59: body ! 60: . ! 61: </upload> ! 62: </verify> ! 63: </testcase>