Annotation of embedaddon/curl/tests/data/test86, revision 1.1
1.1 ! misho 1: <testcase>
! 2: <info>
! 3: <keywords>
! 4: HTTP
! 5: HTTP GET
! 6: globbing
! 7: [] range
! 8: </keywords>
! 9: </info>
! 10: #
! 11: # Server-side
! 12: <reply>
! 13: <data nocheck="yes">
! 14: HTTP/1.1 200 OK
! 15: Date: Thu, 09 Nov 2010 14:49:00 GMT
! 16: Server: test-server/fake
! 17: Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
! 18: ETag: "21025-dc7-39462498"
! 19: Accept-Ranges: bytes
! 20: Content-Length: 6
! 21: Connection: close
! 22: Content-Type: text/html
! 23: Funny-head: yesyes
! 24:
! 25: -foo-
! 26: </data>
! 27: <data1>
! 28: HTTP/1.0 200 OK
! 29: Content-Type: text/html
! 30: Funny-head: swsclose
! 31:
! 32: crap data
! 33: </data1>
! 34: <data2>
! 35: HTTP/1.0 200 OK
! 36: Content-Type: text/html
! 37: Funny-head: swsclose
! 38:
! 39: crap data
! 40: </data2>
! 41: <data3>
! 42: HTTP/1.0 200 OK
! 43: Content-Type: text/html
! 44: Funny-head: swsclose
! 45:
! 46: crap data
! 47: </data3>
! 48: </reply>
! 49:
! 50: #
! 51: # Client-side
! 52: <client>
! 53: <server>
! 54: http
! 55: </server>
! 56: <name>
! 57: HTTP, urlglob []-retrieval and -o #[num] usage
! 58: </name>
! 59: <command option="no-output">
! 60: "http://%HOSTIP:%HTTPPORT/[860001-860003]" -o "log/dumpit#1.dump"
! 61: </command>
! 62: </client>
! 63:
! 64: #
! 65: # Verify data after the test has been "shot"
! 66: <verify>
! 67: <strip>
! 68: ^User-Agent:.*
! 69: </strip>
! 70: <protocol>
! 71: GET /860001 HTTP/1.1
! 72: User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
! 73: Host: %HOSTIP:%HTTPPORT
! 74: Accept: */*
! 75:
! 76: GET /860002 HTTP/1.1
! 77: User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
! 78: Host: %HOSTIP:%HTTPPORT
! 79: Accept: */*
! 80:
! 81: GET /860003 HTTP/1.1
! 82: User-Agent: curl/7.10.7-pre4 (i686-pc-linux-gnu) libcurl/7.10.7-pre4 OpenSSL/0.9.7a ipv6 zlib/1.1.3 GSS
! 83: Host: %HOSTIP:%HTTPPORT
! 84: Accept: */*
! 85:
! 86: </protocol>
! 87:
! 88: # we check the second file
! 89: <file name="log/dumpit860002.dump">
! 90: HTTP/1.0 200 OK
! 91: Content-Type: text/html
! 92: Funny-head: swsclose
! 93:
! 94: crap data
! 95: </file>
! 96: </verify>
! 97: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>