2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2005-04-23 05:59:08 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2014-07-12 07:49:35 +08:00
|
|
|
globbing
|
2005-04-23 05:59:08 +08:00
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-07 07:45:59 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
2007-03-10 05:01:39 +08:00
|
|
|
<features>
|
|
|
|
http
|
|
|
|
</features>
|
2003-08-07 07:45:59 +08:00
|
|
|
<name>
|
|
|
|
HTTP, urlglob retrieval with bad range
|
|
|
|
</name>
|
2007-01-23 10:25:56 +08:00
|
|
|
<command option="no-output">
|
2013-09-07 05:27:47 +08:00
|
|
|
"http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr -
|
2003-08-07 07:45:59 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
2007-01-23 10:25:56 +08:00
|
|
|
<stdout mode="text">
|
2018-09-12 04:03:47 +08:00
|
|
|
curl: (3) bad range in URL position 47:
|
|
|
|
http://a-site-never-accessed.example.org/[2-1]
|
|
|
|
^
|
2003-08-07 07:45:59 +08:00
|
|
|
</stdout>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|