1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6globbing
7FAILURE
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13</reply>
14
15#
16# Client-side
17<client>
18<server>
19none
20</server>
21<features>
22http
23</features>
24 <name>
25HTTP, urlglob retrieval with bad range
26 </name>
27 <command option="no-output">
28"http://a-site-never-accessed.example.org/[2-1]" -o "log/weee#1.dump" --stderr -
29</command>
30# The error message on stdout implicitly depends on the length of the
31# URL, so refuse to run if the length is unexpected.
32<precheck>
33perl %SRCDIR/libtest/test75.pl http://%HOSTIP:%HTTPPORT/ 22
34</precheck>
35</client>
36
37#
38# Verify data after the test has been "shot"
39<verify>
40<strip>
41^User-Agent:.*
42</strip>
43<errorcode>
443
45</errorcode>
46<stdout mode="text">
47curl: (3) bad range in URL position 47:
48http://a-site-never-accessed.example.org/[2-1]
49                                              ^
50</stdout>
51</verify>
52</testcase>
53