2007-01-23 05:25:56 +03:00
|
|
|
<testcase>
|
2005-04-23 01:59:08 +04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
FAILURE
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-08-07 03:45:59 +04:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
none
|
|
|
|
</server>
|
2007-03-10 00:01:39 +03:00
|
|
|
<features>
|
|
|
|
http
|
|
|
|
</features>
|
2003-08-07 03:45:59 +04:00
|
|
|
<name>
|
|
|
|
HTTP, urlglob retrieval with bad range
|
|
|
|
</name>
|
2007-01-23 05:25:56 +03:00
|
|
|
<command option="no-output">
|
2007-03-16 07:34:53 +03:00
|
|
|
"http://%HOSTIP:%HTTPPORT/[2-1]" -o "log/weee#1.dump" --stderr -
|
2003-08-07 03:45:59 +04:00
|
|
|
</command>
|
2007-05-01 00:15:33 +04:00
|
|
|
# The error message on stdout implicitly depends on the length of the
|
|
|
|
# URL, so refuse to run if the length is unexpected.
|
|
|
|
<precheck>
|
|
|
|
perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
|
|
|
|
</precheck>
|
2003-08-07 03:45:59 +04:00
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<errorcode>
|
|
|
|
3
|
|
|
|
</errorcode>
|
2007-01-23 05:25:56 +03:00
|
|
|
<stdout mode="text">
|
2005-11-11 01:22:38 +03:00
|
|
|
curl: (3) [globbing] error: bad range specification after pos 24
|
2003-08-07 03:45:59 +04:00
|
|
|
|
|
|
|
</stdout>
|
|
|
|
</verify>
|
2007-01-23 05:25:56 +03:00
|
|
|
</testcase>
|