File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test537
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Server: test-server/fake
   16: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
   17: ETag: "21025-dc7-39462498"
   18: Accept-Ranges: bytes
   19: Content-Length: 6
   20: Connection: close
   21: Content-Type: text/html
   22: Funny-head: yesyes
   23: 
   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
   59: Host: %HOSTIP:%HTTPPORT
   60: Accept: */*
   61: 
   62: </protocol>
   63: </verify>
   64: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>