/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test476
43 строки
748 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> FTP EPSV STOR TYPE A </keywords> </info> # Client-side <client> <server> ftp </server> <name> FTP PASV upload ASCII file already using CRLF </name> <file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes"> %repeat[1750 x a line of text used for verifying this !%0d%0a]% </file> <command> "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt </command> </client> # Verify data after the test has been "shot" <verify> <upload crlf="yes" nonewline="yes"> %repeat[1750 x a line of text used for verifying this !%0a]% </upload> <protocol crlf="yes"> USER anonymous PASS ftp@example.com PWD EPSV TYPE A STOR %TESTNUMBER QUIT </protocol> </verify> </testcase>