/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test1559
46 строк
826 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> CURLOPT_URL verbose logs </keywords> </info> <reply> </reply> <client> # require HTTP so that CURLOPT_POSTFIELDS works as assumed <features> http verbose-strings </features> <tool> lib%TESTNUMBER </tool> <name> Set excessive URL lengths </name> </client> # Verify that the test runs to completion without crashing <verify> <errorcode> 0 </errorcode> <stdout> CURLOPT_URL 10000000 bytes URL == 43 CURLOPT_POSTFIELDS 10000000 bytes data == 0 CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function) CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function) CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function) </stdout> <limits> Maximum allocated: 10010000 </limits> </verify> </testcase>