mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 02:41:59 -05:00

This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
45 lines
626 B
Plaintext
45 lines
626 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
CURLOPT_URL
|
|
</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
|
|
CURLUPART_SCHEME 10000000 bytes scheme == 3
|
|
CURLUPART_USER 10000000 bytes user == 3
|
|
</stdout>
|
|
</verify>
|
|
|
|
</testcase>
|