/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test900
53 строки
788 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> <name> SMTP </name> <file name="%LOGDIR/mail%TESTNUMBER"> From: different%CR To: another%CR %CR body%CR %repeat[6553 x 0123456789]% </file> <command> smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/mail%TESTNUMBER </command> </client> # Verify data after the test has been "shot" <verify> <protocol crlf="yes"> EHLO %TESTNUMBER MAIL FROM:%LTsender@example.com%GT RCPT TO:%LTrecipient@example.com%GT DATA QUIT </protocol> <upload> From: different%CR To: another%CR %CR body%CR %repeat[6553 x 0123456789]% %CR .%CR </upload> </verify> </testcase>