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