Git init
[external/curl.git] / tests / data / test537
1 <testcase>
2 #
3 # Server-side
4 <reply>
5 <data>
6 HTTP/1.1 200 OK
7 Date: Thu, 09 Nov 2010 14:49:00 GMT
8 Server: test-server/fake
9 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
10 ETag: "21025-dc7-39462498"
11 Accept-Ranges: bytes
12 Content-Length: 6
13 Connection: close
14 Content-Type: text/html
15 Funny-head: yesyes
16
17 -foo-
18 </data>
19 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 http
25 </server>
26 <features>
27 getrlimit
28 </features>
29 # tool is what to use instead of 'curl'
30 <tool>
31 lib537
32 </tool>
33 # precheck is a command line to run before the test, to see if we can execute
34 # the test or not
35 <precheck>
36 ./libtest/lib537 check
37 </precheck>
38
39  <name>
40 HTTP GET with a HUGE number of file descriptors open
41  </name>
42  <command>
43 http://%HOSTIP:%HTTPPORT/537
44 </command>
45 </client>
46
47 #
48 # Verify data after the test has been "shot"
49 <verify>
50 <protocol>
51 GET /537 HTTP/1.1\r
52 Host: %HOSTIP:%HTTPPORT\r
53 Accept: */*\r
54 \r
55 </protocol>
56 </verify>
57 </testcase>