/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1086
62 строки
910 B
Daniel Stenberg
tests: enhance names, remove duplicates
09 июн 2026, 17:44
Не верифицирован
09 июн 2026, 17:44
4ead428
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> FTP EPSV RETR timeout SLOWDOWNDATA flaky timing-dependent </keywords> </info> # Server-side <reply> <servercmd> SLOWDOWNDATA REPLY welcome 220 Hey REPLY USER 331 OK REPLY PASS 230 OK REPLY PWD 257 "/" REPLY TYPE 200 OK </servercmd> <data nocheck="yes"> %repeat[50 x Long chunk of data that couldn't possibly be sent in the time allotted.%0a]% </data> </reply> # Client-side <client> <server> ftp </server> <killserver> ftp </killserver> <name> FTP download with strict timeout and slow data transfer </name> <command> ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -m 5 </command> </client> # Verify data after the test has been "shot" <verify> # 28 is CURLE_OPERATION_TIMEDOUT <errorcode> 28 </errorcode> <protocol crlf="yes"> USER anonymous PASS ftp@example.com PWD EPSV TYPE I SIZE %TESTNUMBER RETR %TESTNUMBER </protocol> </verify> </testcase>