mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
e6b21d422e
... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
45 lines
651 B
Plaintext
45 lines
651 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
HTTP GET
|
|
globbing
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
HTTP, urlglob retrieval with bad range
|
|
</name>
|
|
<command option="no-output">
|
|
"http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
3
|
|
</errorcode>
|
|
<stdout mode="text">
|
|
curl: (3) bad range in URL position 47:
|
|
http://a-site-never-accessed.example.org/[2-1]
|
|
^
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|