~ubuntu-branches/ubuntu/jaunty/curl/jaunty-security

« back to all changes in this revision

Viewing changes to tests/FILEFORMAT

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 12:22:30 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801122230-uaarmp6lo65py9t6
Tags: 7.16.4-1ubuntu1
* Merge with Debian.
  - Drop debian/patches/gnutls-verifications, applied upstream.
  - Remove all stuff which should be reverted according to 7.16.2-6ubuntu4.
  - Remaining change: drop stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
<postcmd>
81
81
special purpose server-command to control its behavior *after* the
82
82
reply is sent
 
83
For HTTP/HTTPS, these are supported:
 
84
 
 
85
wait [secs]
 
86
 - Pause for the given time
83
87
</postcmd>
84
88
<servercmd>
85
89
Special-commands for the server.
86
90
For FTP, these are supported:
 
91
 
87
92
REPLY [command] [return value] [response string]
88
93
 - Changes how the server responds to the [command]
89
94
COUNT [command] [num]
100
105
 - Don't actually save what is received
101
106
SLOWDOWN
102
107
 - Send FTP responses with 0.1 sec delay between each byte
103
 
PASVBADIP  - makes PASV send back an illegal IP in its 227 response
104
 
 - Send back a bad IP in the PASV response
 
108
PASVBADIP
 
109
 - makes PASV send back an illegal IP in its 227 response
105
110
 
106
 
For HTTP:
 
111
For HTTP/HTTPS:
107
112
auth_required - if this is set and a POST/PUT is made without auth, the
108
113
                server will NOT wait for the full request body to get sent
109
114
idle -          do nothing after receiving the request, just "sit idle"
128
133
none
129
134
scp
130
135
sftp
 
136
socks4
 
137
socks5
131
138
 
132
139
Give only one per line.  This subsection is mandatory.
133
140
</server>
145
152
large_file
146
153
libz
147
154
netrc_debug
 
155
NSS
148
156
OpenSSL
149
157
SSL
150
158
 
167
175
Variables are substituted as in the <command> section.
168
176
</precheck>
169
177
 
 
178
<postcheck>
 
179
A command line that if set gets run by the test script after the test. If
 
180
the command exists with a non-zero status code, the test will be considered
 
181
to have failed. Variables are substituted as in the <command> section.
 
182
</postcheck>
 
183
 
170
184
<tool>
171
185
Name of tool to use instead of "curl". This tool must be built and exist
172
186
in the libtest/ directory.
215
229
%TFTPPORT  - Port number of the TFTP server
216
230
%TFTP6PORT - IPv6 port number of the TFTP server
217
231
%SSHPORT   - Port number of the SCP/SFTP server
 
232
%SOCKSPORT - Port number of the SOCKS4/5 server
218
233
%SRCDIR    - Full path to the source dir
219
234
%PWD       - Current directory
220
235
%CURL      - Path to the curl executable
253
268
the protocol dump curl should transmit, if 'nonewline' is set, we will cut
254
269
off the trailing newline of this given data before comparing with the one
255
270
actually sent by the client
 
271
Variables are substituted as in the <command> section.
256
272
</protocol>
257
273
<stdout [mode="text"]>
258
274
This verifies that this data was passed to stdout.