/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test960
53 строки
840 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> </reply> # Client-side <client> <server> smtp </server> <features> !IDN !win32 codeset-utf8 </features> <setenv> LC_ALL=C.UTF-8 </setenv> <name> SMTP without SMTPUTF8 support - UTF-8 based recipient (host part only) </name> <stdin crlf="yes"> From: different To: another body </stdin> <command> smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@%hex[%c3%a5%c3%a4%c3%b6]hex%.se --mail-from sender@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:%LTsender@example.com%GT RCPT TO:%LTrecipient@%hex[%c3%a5%c3%a4%c3%b6]hex%.se%GT QUIT </protocol> </verify> </testcase>