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

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