~ubuntu-branches/ubuntu/natty/curl/natty-proposed

« back to all changes in this revision

Viewing changes to tests/data/test578

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-11-29 17:26:37 UTC
  • mfrom: (3.4.9 sid)
  • Revision ID: james.westby@ubuntu.com-20101129172637-7wwnlut14uxp2kfx
Tags: 7.21.2-1ubuntu1
* Merge with Debian unstable, remaining Ubuntu changes: (LP: #682286)
* debian/control:
  - (Keep build deps in main)
  - Drop build dependencies: stunnel, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
HTTP
 
5
HTTP POST
 
6
</keywords>
 
7
</info>
 
8
#
 
9
# Server-side
 
10
<reply name="1">
 
11
<data mode="text">
 
12
HTTP/1.1 200 OK
 
13
Date: Thu, 09 Nov 2010 14:49:00 GMT
 
14
Server: test-server/fake
 
15
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
 
16
ETag: "21025-dc7-39462498"
 
17
Accept-Ranges: bytes
 
18
Content-Length: 6
 
19
Connection: close
 
20
Content-Type: text/html
 
21
Funny-head: yesyes
 
22
 
 
23
-foo-
 
24
</data>
 
25
</reply>
 
26
 
 
27
# Client-side
 
28
<client>
 
29
<server>
 
30
http
 
31
</server>
 
32
# tool is what to use instead of 'curl'
 
33
<tool>
 
34
lib578
 
35
</tool>
 
36
 
 
37
 <name>
 
38
HTTP POST lower than MAX_INITIAL_POST_SIZE with progress callback
 
39
 </name>
 
40
 <command>
 
41
http://%HOSTIP:%HTTPPORT/500 log/ip578
 
42
</command>
 
43
</client>
 
44
 
 
45
#
 
46
# Verify data after the test has been "shot"
 
47
<verify>
 
48
<file name="log/ip578" mode="text">
 
49
PASSED, UL data matched data size
 
50
</file>
 
51
</verify>
 
52
</testcase>