• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:with +full:- +full:libssh

1 <!--
4 SPDX-License-Identifier: curl
5 -->
12 in its own line. Comments are either XML-style (enclosed with `<!--` and
13 `-->`) or shell script style (beginning with `#`) and must appear on their own
21 with a `testcase` tag, which encompasses the remainder of the file.
43 or even percent-encoded individual bytes. As an example, insert the HTTP
56 %hex[ %XX-encoded data to decode ]hex%
103 Accept-Encoding
110 Accept-Encoding: not-brotli
117 Accept-Encoding: brotli
119 Accept-Encoding: nothing
131 - `%CLIENT6IP` - IPv6 address of the client running curl (including brackets)
132 - `%CLIENT6IP-NB` - IPv6 address of the client running curl (no brackets)
133 - `%CLIENTIP` - IPv4 address of the client running curl
134 - `%CURL` - Path to the curl executable
135 - `%DATE` - current YYYY-MM-DD date
136 - `%DEV_NULL` - Null device (e.g. /dev/null)
137 - `%FILE_PWD` - Current directory, on Windows prefixed with a slash
138 - `%FTP6PORT` - IPv6 port number of the FTP server
139 - `%FTPPORT` - Port number of the FTP server
140 - `%FTPSPORT` - Port number of the FTPS server
141 - `%FTPTIME2` - Timeout in seconds that should be just sufficient to receive a
143 - `%GOPHER6PORT` - IPv6 port number of the Gopher server
144 - `%GOPHERPORT` - Port number of the Gopher server
145 - `%GOPHERSPORT` - Port number of the Gophers server
146 - `%HOST6IP` - IPv6 address of the host running this test
147 - `%HOSTIP` - IPv4 address of the host running this test
148 - `%HTTP2PORT` - Port number of the HTTP/2 server
149 - `%HTTP6PORT` - IPv6 port number of the HTTP server
150 - `%HTTPPORT` - Port number of the HTTP server
151 - `%HTTPSPORT` - Port number of the HTTPS server
152 - `%HTTPSPROXYPORT` - Port number of the HTTPS-proxy
153 - `%HTTPTLS6PORT` - IPv6 port number of the HTTP TLS server
154 - `%HTTPTLSPORT` - Port number of the HTTP TLS server
155 - `%HTTPUNIXPATH` - Path to the Unix socket of the HTTP server
156 - `%IMAP6PORT` - IPv6 port number of the IMAP server
157 - `%IMAPPORT` - Port number of the IMAP server
158 - `%LOGDIR` - Log directory relative to %PWD
159 - `%MQTTPORT` - Port number of the MQTT server
160 - `%NOLISTENPORT` - Port number where no service is listening
161 - `%POP36PORT` - IPv6 port number of the POP3 server
162 - `%POP3PORT` - Port number of the POP3 server
163 - `%POSIX_PWD` - Current directory somewhat MinGW friendly
164 - `%PROXYPORT` - Port number of the HTTP proxy
165 - `%PWD` - Current directory
166 - `%RTSP6PORT` - IPv6 port number of the RTSP server
167 - `%RTSPPORT` - Port number of the RTSP server
168 - `%SMBPORT` - Port number of the SMB server
169 - `%SMBSPORT` - Port number of the SMBS server
170 - `%SMTP6PORT` - IPv6 port number of the SMTP server
171 - `%SMTPPORT` - Port number of the SMTP server
172 - `%SOCKSPORT` - Port number of the SOCKS4/5 server
173 - `%SOCKSUNIXPATH` - Path to the Unix socket of the SOCKS server
174 - `%SRCDIR` - Full path to the source dir
175 - `%SSH_PWD` - Current directory friendly for the SSH server
176 - `%SSHPORT` - Port number of the SCP/SFTP server
177 - `%SSHSRVMD5` - MD5 of SSH server's public key
178 - `%SSHSRVSHA256` - SHA256 of SSH server's public key
179 - `%TELNETPORT` - Port number of the telnet server
180 - `%TESTNUMBER` - Number of the test case
181 - `%TFTP6PORT` - IPv6 port number of the TFTP server
182 - `%TFTPPORT` - Port number of the TFTP server
183 - `%USER` - Login ID of the user running the test
184 - `%VERNUM` - the version number of the tested curl (without -DEV)
185 - `%VERSION` - the full version number of the tested curl
193 - **info** provides information about the test case
195 - **reply** is used for the server to know what to send as a reply for the
198 - **client** defines how the client should behave
200 - **verify** defines how to verify that the data stored after a command has
209 A newline-separated list of keywords describing what this test case uses and
212 tests. Keywords must begin with an alphabetic character, `-`, `[` or `{` and
222 The `text-ci` make target automatically skips test with the `flaky` keyword.
224 Tests that have strict timing dependencies have the `timing-dependent` keyword.
226 often run on overloaded machines with unpredictable timing.
252 `base64=yes` means that the data provided in the test-file is a chunk of data
253 encoded with base64. It is the only way a test case can contain binary
268 that there has been a CWD done first to a directory named `test-[NUM]` where
276 - The test number in the request line is >10000 and this is the remainder
278 - The request was HTTP and included digest details, which adds 1000 to `NUM`
279 - If an HTTP request is NTLM type-1, it adds 1001 to `NUM`
280 - If an HTTP request is NTLM type-3, it adds 1002 to `NUM`
281 - If an HTTP request is Basic and `NUM` is already >=1000, it adds 1 to `NUM`
282 - If an HTTP request is Negotiate, `NUM` gets incremented by one for each
283 request with Negotiate authorization header on the same test case.
293 requests. The remainder of the rules for the data section then apply but with
302 before comparing with the one actually received by the client.
308 The contents of numbered `datacheck` sections are appended to the non-numbered
312 number to return on an ftp SIZE command (set to -1 to make this command fail)
315 what to send back if the client sends a (FTP) `MDTM` command, set to -1 to
319 special purpose server-command to control its behavior *after* the
323 `wait [secs]` - Pause for the given time
326 Special-commands for the server.
334 - `REPLY [command] [return value] [response string]` - Changes how the server
339 - `REPLYLF` (like above but sends the response terminated with LF-only and not
341 - `COUNT [command] [num]` - Do the `REPLY` change for `[command]` only `[num]`
342 times and then go back to the built-in approach
343 - `DELAY [command] [secs]` - Delay responding to this command for the given
345 - `RETRWEIRDO` - Enable the "weirdo" RETR case when multiple response lines
347 - `RETRNOSIZE` - Make sure the RETR response does not contain the size of the
349 - `RETRSIZE [size]` - Force RETR response to contain the specified size
350 - `NOSAVE` - Do not actually save what is received
351 - `SLOWDOWN` - Send FTP responses with 0.01 sec delay between each byte
352 - `SLOWDOWNDATA` - Send FTP responses with 0.01 sec delay between each data
354 - `PASVBADIP` - makes PASV send back an illegal IP in its 227 response
355 - `CAPA [capabilities]` - Enables support for and specifies a list of space
358 - `AUTH [mechanisms]` - Enables support for SASL authentication and specifies
360 - `STOR [msg]` respond with this instead of default after `STOR`
364 - `auth_required` if this is set and a POST/PUT is made without auth, the
366 - `delay: [msecs]` - delay this amount after connection
367 - `idle` - do nothing after receiving the request, just "sit idle"
368 - `stream` - continuously send data to the client, never-ending
369 - `writedelay: [msecs]` delay this amount between reply packets
370 - `skip: [num]` - instructs the server to ignore reading this many bytes from
372 - `rtp: part [num] channel [num] size [num]` - stream a fake RTP packet for
373 the given part on a chosen channel with the given payload size
374 - `connection-monitor` - When used, this logs `[DISCONNECT]` to the
376 - `upgrade` - when an HTTP upgrade header is found, the server upgrades to
378 - `swsclose` - instruct server to close connection after response
379 - `no-expect` - do not read the request body if Expect: is present
390 - `dict`
391 - `file`
392 - `ftp`
393 - `ftp-ipv6`
394 - `ftps`
395 - `gopher`
396 - `gopher-ipv6`
397 - `gophers`
398 - `http`
399 - `http/2`
400 - `http-ipv6`
401 - `http-proxy`
402 - `https`
403 - `https-proxy`
404 - `httptls+srp`
405 - `httptls+srp-ipv6`
406 - `http-unix`
407 - `imap`
408 - `mqtt`
409 - `none`
410 - `pop3`
411 - `rtsp`
412 - `rtsp-ipv6`
413 - `scp`
414 - `sftp`
415 - `smb`
416 - `smtp`
417 - `socks4`
418 - `socks5`
419 - `socks5unix`
420 - `telnet`
421 - `tftp`
432 Alternatively a feature can be prefixed with an exclamation mark to indicate a
437 - `alt-svc`
438 - `AppleIDN`
439 - `asyn-rr` - c-ares is used for additional records only
440 - `bearssl`
441 - `brotli`
442 - `c-ares` - c-ares is used for (all) name resolves
443 - `CharConv`
444 - `codeset-utf8`. If the running codeset is UTF-8 capable.
445 - `cookies`
446 - `crypto`
447 - `Debug`
448 - `DoH`
449 - `getrlimit`
450 - `GnuTLS`
451 - `GSS-API`
452 - `h2c`
453 - `headers-api`
454 - `HSTS`
455 - `HTTP-auth`
456 - `http/2`
457 - `http/3`
458 - `HTTPS-proxy`
459 - `HTTPSRR`
460 - `IDN`
461 - `IPv6`
462 - `Kerberos`
463 - `Largefile`
464 - `large-time` (time_t is larger than 32-bit)
465 - `large-size` (size_t is larger than 32-bit)
466 - `ld_preload`
467 - `libssh2`
468 - `libssh`
469 - `oldlibssh` (versions before 0.9.4)
470 - `libz`
471 - `local-http`. The HTTP server runs on 127.0.0.1
472 - `manual`
473 - `mbedtls`
474 - `Mime`
475 - `netrc`
476 - `nghttpx`
477 - `nghttpx-h3`
478 - `NTLM`
479 - `NTLM_WB`
480 - `OpenSSL`
481 - `parsedate`
482 - `proxy`
483 - `PSL`
484 - `rustls`
485 - `Schannel`
486 - `sectransp`
487 - `shuffle-dns`
488 - `socks`
489 - `SPNEGO`
490 - `SSL`
491 - `SSLpinning`
492 - `SSPI`
493 - `threaded-resolver`
494 - `TLS-SRP`
495 - `TrackMemory`
496 - `typecheck`
497 - `threadsafe`
498 - `Unicode`
499 - `unittest`
500 - `UnixSockets`
501 - `verbose-strings`
502 - `wakeup`
503 - `win32`
504 - `WinIDN`
505 - `wolfssh`
506 - `wolfssl`
507 - `xattr`
508 - `zstd`
522 output is displayed by the command or if the return code is non-zero, the test
523 is skipped and the (single-line) output is displayed as reason for not running
528 either in the `libtest/` directory (if the tool name starts with `lib`) or in
529 the `unit/` directory (if the tool name starts with `unit`).
547 ### `<command [option="no-q/no-output/no-include/force-output/binary-trace"] [timeout="secs"][delay…
552 number (N) is used by the test-server to load test case N and return the data
568 Set `option="no-output"` to prevent the test script to slap on the `--output`
569 argument that directs the output to a file. The `--output` is also not added
572 Set `option="force-output"` to make use of `--output` even when the test is
575 Set `option="no-include"` to prevent the test script to slap on the
576 `--include` argument.
578 Set `option="no-q"` avoid using `-q` as the first argument in the curl command
581 Set `option="binary-trace"` to use `--trace` instead of `--trace-ascii` for
582 tracing. Suitable for binary-oriented protocols such as MQTT.
599 This creates the named file with this content before the test case is run,
618 before comparing with the one actually received by the client
622 If `test-duphandle` is a listed item here, this is not run when
623 `--test-duphandle` is used.
628 error codes by separating multiple numbers with comma. See test 237 for an
634 changing protocol data such as port numbers or user-agent strings.
642 command exists with a non-zero status code, the test is considered failed.
651 trailing newline of this given data before comparing with the one actually
660 The protocol dump curl should transmit to an HTTP proxy (when the http-proxy
662 this given data before comparing with the one actually sent by the client The
675 before comparing with the one actually received by the client
684 before comparing with the one actually received by the client
707 compared with what is stored in the test file. This is pretty
730 disable - disables the valgrind log check for this test