/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test955
54 строки
851 B
Viktor Szakats
tests/data: add XML prolog to test files
12 дек 2025, 19:17
Не верифицирован
12 дек 2025, 19:17
b5ea073
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> SMTP </keywords> </info> # Server-side <reply> <servercmd> REPLY MAIL 501 not fine enough </servercmd> </reply> # Client-side <client> <server> smtp </server> <features> !win32 codeset-utf8 </features> <setenv> LC_ALL=C.UTF-8 </setenv> <name> SMTP without SMTPUTF8 support - UTF-8 based sender (local part only) </name> <stdin crlf="yes"> From: different To: another body </stdin> <command> smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avs%hex[%c3%a4]hex%ndaren@example.com -T - </command> </client> # Verify data after the test has been "shot" <verify> # 55 - CURLE_SEND_ERROR <errorcode> 55 </errorcode> <protocol crlf="yes"> EHLO %TESTNUMBER MAIL FROM:%LTAvs%hex[%c3%a4]hex%ndaren@example.com%GT QUIT </protocol> </verify> </testcase>