File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test29
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: timeout
    7: FAILURE
    8: </keywords>
    9: </info>
   10: # Server-side
   11: <reply>
   12: <data>
   13: HTTP/1.1 200 OK swsclose
   14: Date: Thu, 09 Nov 2010 14:49:00 GMT
   15: Connection: close
   16: 
   17: _data_result_data_
   18: </data>
   19: <postcmd>
   20: wait 10
   21: </postcmd>
   22: </reply>
   23: 
   24: # Client-side
   25: <client>
   26: <server>
   27: http
   28: </server>
   29:  <name>
   30: HTTP with 2 secs timeout
   31:  </name>
   32:  <command>
   33: http://%HOSTIP:%HTTPPORT/want/29 -m 2
   34: </command>
   35: </client>
   36: 
   37: # Verify data after the test has been "shot"
   38: <verify>
   39: <strip>
   40: ^User-Agent:.*
   41: </strip>
   42: <protocol>
   43: GET /want/29 HTTP/1.1
   44: Host: %HOSTIP:%HTTPPORT
   45: Accept: */*
   46: 
   47: </protocol>
   48: <errorcode>
   49: 28
   50: </errorcode>
   51: </verify>
   52: </testcase>

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