19f033db23ef2b7b759bdd294aa117764857945f
[platform/upstream/curl.git] / tests / data / test87
1 <testcase>
2 <info>
3 <keywords>
4 [] range
5 FAILURE
6 </keywords>
7 </info>
8 #
9 # Server-side
10 <reply>
11 <data1>
12 HTTP/1.1 200 OK\r
13 Funny-head: yesyes\r
14 Content-Length: 15\r
15 \r
16 the number one
17 </data1>
18 <data2>
19 HTTP/1.1 200 OK\r
20 Funny-head: yesyes\r
21 Content-Length: 16\r
22 \r
23 two is nice too
24 </data2>
25
26 </reply>
27 #
28 # Client-side
29 <client>
30 <server>
31 http
32 </server>
33 <features>
34 http
35 </features>
36  <name>
37 urlglob with out of range -o #[num] usage
38  </name>
39  <command option="no-output">
40 "http://%HOSTIP:%HTTPPORT/[870001-870002]" -o "log/dumpit#2.dump"
41 </command>
42 </client>
43
44 #
45 # Verify data after the test has been "shot". Note that the command line
46 # will write both responses into the same file name so only the second
47 # survives
48 #
49 <verify>
50 <file name="log/dumpit#2.dump" mode="text">
51 HTTP/1.1 200 OK\r
52 Funny-head: yesyes\r
53 Content-Length: 16\r
54 \r
55 two is nice too
56 </file>
57 </verify>
58 </testcase>