2
0
mirror of https://github.com/curl/curl.git synced 2024-12-15 06:40:09 +08:00
curl/tests/data/test399
Daniel Stenberg 04427fc207
test399: switch it to use a config file instead
... as using a 65535 bytes host name in a URL does not fit on the
command line on some systems - like Windows.

Reported-by: Marcel Raad
Fixes 
Closes 
2022-08-16 16:35:47 +02:00

33 lines
368 B
Plaintext

<testcase>
<info>
<keywords>
URL
</keywords>
</info>
#
# Client-side
<client>
<server>
http
</server>
<name>
65536 bytes long host name in URL
</name>
<file name="log/input%TESTNUM">
url = http://%repeat[65536 x a]%/399
</file>
<command>
-K log/input%TESTNUM
</command>
</client>
<verify>
# 3 == CURLE_URL_MALFORMAT
<errorcode>
3
</errorcode>
</verify>
</testcase>