mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
48cbd8f713
These are needed to skip some tests when configure options have disabled certain features.
46 lines
725 B
Plaintext
46 lines
725 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
CURLOPT_URL
|
|
verbose logs
|
|
</keywords>
|
|
</info>
|
|
|
|
<reply>
|
|
</reply>
|
|
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
|
|
# require HTTP so that CURLOPT_POSTFIELDS works as assumed
|
|
<features>
|
|
http
|
|
</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 == 27 (Bad scheme)
|
|
CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
|
|
</stdout>
|
|
</verify>
|
|
|
|
</testcase>
|