summaryrefslogtreecommitdiff
path: root/tests/FILEFORMAT
Commit message (Collapse)AuthorAgeFilesLines
* pipelining: removedDaniel Stenberg2019-04-061-4/+0
| | | | | | | As previously planned and documented in DEPRECATE.md, all pipelining code is removed. Closes #3651
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-031-0/+1
|
* url: a short host name + port is not a schemeDaniel Stenberg2018-11-061-0/+2
| | | | | | | | | | | | | | | | | | | The function identifying a leading "scheme" part of the URL considered a few letters ending with a colon to be a scheme, making something like "short:80" to become an unknown scheme instead of a short host name and a port number. Extended test 1560 to verify. Also fixed test203 to use file_pwd to make it get the correct path on windows. Removed test 2070 since it was a duplicate of 203. Assisted-by: Marcel Raad Reported-by: Hagai Auro Fixes #3220 Fixes #3233 Closes #3223 Closes #3235
* axtls: removedDaniel Stenberg2018-11-011-1/+0
| | | | | | | | | | As has been outlined in the DEPRECATE.md document, the axTLS code has been disabled for 6 months and is hereby removed. Use a better supported TLS library! Assisted-by: Daniel Gustafsson Closes #3194
* tests/FILEFORMAT: mention how to use <fileN> and <stripfileN> tooDaniel Stenberg2018-10-061-0/+19
| | | | [ci skip]
* test2100: require http2 to runDaniel Stenberg2018-09-291-1/+1
| | | | | | Reported-by: Marcel Raad Fixes #3064 Closes #3065
* http: fix for tiny "HTTP/0.9" responseDaniel Stenberg2018-08-131-0/+1
| | | | | | | | | | | Deal with tiny "HTTP/0.9" (header-less) responses by checking the status-line early, even before a full "HTTP/" is received to allow detecting 0.9 properly. Test 1266 and 1267 added to verify. Fixes #2420 Closes #2872
* tests: provide 'manual' as a feature to optionally requireDaniel Stenberg2018-04-291-0/+1
| | | | | | | | | ... and make test 1026 rely on that feature so that --disable-manual builds don't cause test failures. Reported-by: Max Dymond and Anders Roxell Fixes #2533 Closes #2540
* transfer: make HTTP without headers count correct body sizeDaniel Stenberg2018-03-151-2/+5
| | | | | | | | This is what "HTTP/0.9" basically looks like. Reported on IRC Closes #2382
* sasl_getmesssage: make sure we have a long enough string to passDaniel Stenberg2017-12-051-0/+2
| | | | | | | | | | For pop3/imap/smtp, added test 891 to somewhat verify the pop3 case. For this, I enhanced the pingpong test server to be able to send back responses with LF-only instead of always using CRLF. Closes #2150
* tests: add initial gssapi test using stub implementationIsaac Boukris2017-09-151-0/+3
| | | | | | | | | | | The stub implementation is pre-loaded using LD_PRELOAD and emulates common gssapi uses (only builds if curl is initially built with gssapi support). The initial tests are currently disabled for debug builds as LD_PRELOAD is not used then. Ref: https://github.com/curl/curl/pull/1687
* runtests: support "threaded-resolver" as a featureDaniel Stenberg2017-07-061-0/+1
| | | | ... to let tests require it or skip if present
* runtests.pl: simplify the datacheck read sectionDan Fandrich2017-05-061-2/+10
| | | | Also, document that numbered datacheck sections are possible.
* tests: fix the HTTP/2 testsDaniel Stenberg2016-06-191-0/+1
| | | | | | | | | | The HTTP/2 tests brought with commit bf05606ef1f were using the internal name 'http2' for the HTTP/2 server, while in fact that name was already used for the second instance of the HTTP server. This made tests using the second instance (like test 2050) fail after a HTTP/2 test had run. The server is now known as HTTP/2 internally and within the <server> section in test cases. 1700, 1701 and 1702 were updated accordingly.
* runtests: make stripfile work on stdout as wellDaniel Stenberg2016-06-061-2/+3
| | | | ... and have test 1700 use that to strip out the nghttpx server: headers
* tests/FILEFORMAT: mention PSL as a valid feture to check forDaniel Stenberg2015-10-181-0/+1
| | | | For example in test 1136
* runtests: Allow for spaces in curl custom pathJay Satiro2015-07-161-8/+9
| | | | .. also fix some typos in test's FILEFORMAT spec.
* code/docs: Use correct case for IPv4 and IPv6Steve Holme2014-12-271-1/+1
| | | | | | For consistency, as we seem to have a bit of a mixed bag, changed all instances of ipv4 and ipv6 in comments and documentations to use the correct case.
* code/docs: Use Unix rather than UNIX to avoid use of the trademarkSteve Holme2014-12-261-1/+1
| | | | | Use Unix when generically writing about Unix based systems as UNIX is the trademark and should only be used in a particular product's name.
* tests: add HTTP UNIX socket server testing supportPeter Wu2014-12-041-0/+3
| | | | | | | | | The variable `$ipvnum` can now contain "unix" besides the integers 4 and 6 since the variable. Functions which receive this parameter have their `$port` parameter renamed to `$port_or_path` to support a path to the UNIX domain socket (as a "port" is only meaningful for TCP). Signed-off-by: Peter Wu <peter@lekensteyn.nl>
* runtests.pl: Added support for SPNEGOSteve Holme2014-11-221-0/+1
|
* FILEFORMAT: Added SSPI, GSS-API and Kerberos to the features listSteve Holme2014-11-211-0/+3
|
* FILEFORMAT: Added test requires feature not present informationSteve Holme2014-11-211-2/+8
| | | | Such as !SSPI as we do for the NTLM and Digest tests.
* FILEFORMAT: mention the new upgrade supportDaniel Stenberg2014-11-201-1/+2
|
* test1800: first plain-text http2 test caseDaniel Stenberg2014-11-201-0/+1
| | | | Verifies the upgrade request, but gets a plain 1.1 response
* tests: add new feature 'SSLpinning'Daniel Stenberg2014-11-041-0/+1
| | | | | ... and make test 2034 and 2035 require it, and have it set when built with OpenSSL or GnuTLS.
* tests: document more test identifiers and variablesDan Fandrich2014-07-111-29/+41
|
* ftp tests: provide LIST responses in the test file itselfDaniel Stenberg2014-01-041-0/+6
| | | | | | | | | | | | | | Previously LIST always returned a fixed hardcoded list that the ftp server code knew about, mostly since the server didn't get any test case number in the LIST scenario. Starting now, doing a CWD to a directory named test-[number] will make the test server remember that number and consider it a test case so that a subsequent LIST command will send the <data> section of that test case back. It allows LIST tests to be made more similar to how all other tests work. Test 100 was updated to provide its own directory listing.
* ftpserver.pl: Added CAPA & AUTH directive support to the SMTP EHLO handlerSteve Holme2013-09-151-2/+3
|
* ftpserver: Reworked AUTH support to allow for specifying the mechanismsSteve Holme2013-09-081-0/+3
| | | | | | | Renamed SUPPORTAUTH to AUTH and added support for specifying a list of supported SASL mechanisms to return to the client. Additionally added the directive to the FILEFORMAT document.
* ftpserver: Reworked CAPA support to allow for specifying the capabilitiesSteve Holme2013-09-081-0/+3
| | | | | | | Renamed SUPPORTCAPA to CAPA and added support for specifying a list of supported capabilities to return to the client. Additionally added the directive to the FILEFORMAT document.
* tftpd: support "writedelay" within <servercmd>Daniel Stenberg2013-08-221-0/+4
|
* sws: support extracting test number from CONNECT ipv6-address!Daniel Stenberg2013-06-041-1/+3
| | | | | | If an ipv6-address is provided to CONNECT, the last hexadecimal group in the address will be used as the test number! For example the address "[1234::ff]" would be treated as test case 255.
* runtests.pl: support nonewline="yes" in client/stdin sectionsDaniel Stenberg2013-05-071-1/+4
|
* FTP: handle a 230 welcome responseDaniel Stenberg2013-04-121-0/+2
| | | | | | | | | | ...instead of the 220 we otherwise expect. Made the ftpserver.pl support sending a custom "welcome" and then created test 1219 to verify this fix with such a 230 welcome. Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html Reported by: Anders Havn
* test1509: verify proxy header response headers countDaniel Stenberg2013-03-271-7/+9
| | | | | | | | | | | | | Modified sws to support and use custom CONNECT responses instead of the previously naive hard-coded version. Made the HTTP test server able to extract test case number from the host name in a CONNECT request by finding the number after the last dot. It makes 'machine.moo.123' use test case 123. Adapted a larger amount of tests to the new <connect> style. Bug: http://curl.haxx.se/bug/view.cgi?id=1204 Reported by: Martin Jansen
* tests: add #96 #558 and #1330Yang Tse2013-03-151-1/+2
| | | | | | These verfy that the 'memory tracking' subsystem is actually doing its job when using curl tool (#96), a test in libtest (#558) and also a unit test (#1330), in order to prevent regressions in this functionallity.
* HTTP proxy: insert slash in URL if missingDaniel Stenberg2013-03-151-0/+4
| | | | | | | | | | | | | | | | | | | curl has been accepting URLs using slightly wrong syntax for a long time, such as when completely missing as slash "http://example.org" or missing a slash when a query part is given "http://example.org?q=foobar". curl would translate these into a legitimate HTTP request to servers, although as was shown in bug #1206 it was not adjusted properly in the cases where a HTTP proxy was used. Test 1213 and 1214 were added to the test suite to verify this fix. The test HTTP server was adjusted to allow us to specify test number in the host name only without using any slashes in a given URL. Bug: http://curl.haxx.se/bug/view.cgi?id=1206 Reported by: ScottJi
* FILEFORMAT: the FTP commands work for more protocolsDaniel Stenberg2012-09-041-1/+1
|
* connection-monitor: always log disconnect when enabledDaniel Stenberg2012-07-121-6/+1
| | | | | | This makes verifying easier and makes us more sure curl closes the connection only at the correct point in time. Adjusted test 206 and 1008 accordingly and updated the docs for it.
* FILEFORMAT: provided a full description of connection-monitorDaniel Stenberg2012-07-051-1/+9
|
* sws: add 'connection-monitor' command supportDaniel Stenberg2012-07-051-0/+1
| | | | | | | | | Using this, the server will output in the protocol log when the connection gets disconnected and thus we will verify correctly in the test cases that the connection doesn't get closed prematurely. This is important for example NTLM to work. Documentation added to FILEFORMAT, test 503 updated to use this.
* tests: Added Metalink test case # 2005Tatsuhiro Tsujikawa2012-06-211-0/+1
|
* test proxy supports CONNECTDaniel Stenberg2012-01-031-4/+20
| | | | | | | | | | | | There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
* Correct substitution var namesColin Hogben2011-12-151-2/+2
| | | | Two variable names were wrong in the documentation.
* test harness: non-stunnel https server integration overhaulYang Tse2011-10-061-1/+3
|
* runtests.pl: support option=no-includeDaniel Stenberg2011-08-041-1/+5
|
* runtests: add 'debug' as a feature a test can requireDaniel Stenberg2011-07-191-1/+1
|
* Mention axTLS in some more documentationDan Fandrich2011-01-211-0/+1
|
* TLS-SRP: support added when using GnuTLSQuinn Slack2011-01-191-0/+1
|