1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 23:55:01 -04:00
curl/tests/data/test75

50 lines
789 B
Plaintext
Raw Normal View History

<testcase>
2005-04-22 17:59:08 -04:00
<info>
<keywords>
HTTP
HTTP GET
FAILURE
</keywords>
</info>
2003-08-06 19:45:59 -04:00
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
none
</server>
<features>
http
</features>
2003-08-06 19:45:59 -04:00
<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 -
2003-08-06 19:45:59 -04:00
</command>
# 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-06 19:45:59 -04:00
</client>
#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<errorcode>
3
</errorcode>
<stdout mode="text">
curl: (3) [globbing] bad range in column 47
2003-08-06 19:45:59 -04:00
</stdout>
</verify>
</testcase>