aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2014-04-04PROXYHEADER: send these headers in "normal" proxy requests tooDaniel Stenberg
Updated the docs to clarify and the code accordingly, with test 1528 to verify: When CURLHEADER_SEPARATE is set and libcurl is asked to send a request to a proxy but it isn't CONNECT, then _both_ header lists (CURLOPT_HTTPHEADER and CURLOPT_PROXYHEADER) will be used since the single request is then made for both the proxy and the server.
2014-04-04test1428: verify --proxy-headerDaniel Stenberg
2014-04-04CURLOPT_HEADEROPT: addedDaniel Stenberg
Modified the logic so that CURLOPT_HEADEROPT now controls if PROXYHEADER is actually used or not.
2014-04-04CURLOPT_PROXYHEADER: set headers for proxy-onlyDaniel Stenberg
Includes docs and new test cases: 1525, 1526 and 1527 Co-written-by: Vijay Panghal
2014-04-04HTTP: don't send Content-Length: 0 _and_ Expect: 100-continueDaniel Stenberg
Without request body there's no point in asking for 100-continue. Bug: http://curl.haxx.se/bug/view.cgi?id=1349 Reported-by: JimS
2014-04-03tests: unified use of some keywordsDan Fandrich
2014-04-03tests: added some missing closing tagsDan Fandrich
2014-04-03tests: add keywords to the last 7 tests lacking themDaniel Stenberg
2014-04-01tests: Added SMTP with credientials test when not supported by serverSteve Holme
2014-03-31tests: Added SMTP with credentials test for RFC-821 based serverSteve Holme
Added SMTP (RFC-821 only) based test case as a reference for the fix provided by commit fe260b75e7.
2014-03-30curl: stop interpreting IPv6 literals as glob patterns.Paul Marks
This makes it possible to fetch from an IPv6 literal without specifying the -g option. Globbing remains available elsehwere in the URL. For example: curl http://[::1]/file[1-3].txt This creates no ambiguity, because there is no overlap between the syntax of valid globs and valid IPv6 literals. Globs contain hyphens and at most 1 colon, while IPv6 literals have no hyphens, and at least 2 colons. The peek_ipv6() parser simply whitelists a set of characters and counts colons, because the real validation happens later on. The character set includes A-Z, in case someone decides to implement support for scopes like [fe80::1%25eth0] in the future. Signed-off-by: Paul Marks <pmarks@google.com>
2014-03-30test938: Updated to use file input for uploadSteve Holme
As the second URL won't be passed input from stdin.
2014-03-30test836: Fixed incorrect username in expected outputSteve Holme
2014-03-30DISABLED: 836, 882 and 938 hangDaniel Stenberg
2014-03-30tests: remove trailing CRs from keywordsDaniel Stenberg
2014-03-30tests: Added email unit tests to verify login credential connection re-useSteve Holme
2014-03-30tests: Corrected "APOP" authentication keywordSteve Holme
2014-03-30tests: Replaced email authentication keywords with SASL based keywordsSteve Holme
As the email protocols implement SASL authentication rather than IMAP, POP3 and SMTP specific authentication, updated the authentication keywords to reflect this.
2014-03-30tests: Added "Clear Text" authentication keywordSteve Holme
2014-03-30tests: Added "SASL" authentication keywordSteve Holme
2014-03-26test815/816: Use authentication for both URLsDan Fandrich
The improved connection reuse logic would otherwise create a new connection for each one, which isn't supported by the test server, nor expected by the test.
2014-03-25test1397: unit test for certificate name wildcard handlingRichard J. Moore
2014-03-15tests: made the SASL modes separate keywordsDan Fandrich
2014-03-15tests: added missing HTTP NTLM auth keywordsDan Fandrich
Also, removed an unneeded strippart
2014-03-15tests: disable valgrind on the remaining scp/sftp testsDan Fandrich
2014-03-14test640/1: add tests for --head with sftp and scpDan Fandrich
This option is currently rather useless with these protocols when no quote command is given, but it is valid.
2014-02-28test96: Updated accordly for recent changesSteve Holme
2014-02-26tool: Reworked argument parsing to use --next/-:Steve Holme
Follow up to commit 1a9b58fcb2 to replace the : command line option with --next and -:.
2014-02-17tests: Made the crypto test feature usableDan Fandrich
This feature specifies the availability of cryptographic authentication, which can be disabled at compile-time
2014-02-16ConnectionExists: re-use connections betterDaniel Stenberg
When allowing NTLM, the re-use connection logic was too focused on finding an existing NTLM connection to use and didn't properly allow re-use of other ones. This made the logic not re-use perfectly re-usable connections. Added test case 1418 and 1419 to verify. Regression brought in 8ae35102c (curl 7.35.0) Reported-by: Jeff King Bug: http://thread.gmane.org/gmane.comp.version-control.git/242213
2014-02-15testsuite: more Windows line-endings fixesMarc Hoersken
2014-02-15test1114: fix line-endings checks on Windows after 75f00deMarc Hoersken
2014-02-15test1113: fix line-endings checks on Windows after 75f00de5Marc Hoersken
2014-02-14HTTP tests: use CRLF as header seperator according to RFC 2616Marc Hoersken
Updates the test suite to handle binary-mode header output.
2014-02-14HTTP tests: use CRLF as header seperator according to RFC 2616Marc Hoersken
Changes LF to CRLF and disables automatic output conversion.
2014-02-14testsuite: use binary output mode for custom curl test toolsMarc Hoersken
Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
2014-02-14testsuite: changed HTTP and RTSP header line-endings to CRLFMarc Hoersken
According to RFC 2616 and RFC 2326 individual protocol elements, like headers and except the actual content, are terminated by using CRLF. Therefore the test data files for these protocols need to contain mixed line-endings if the actual protocol elements use CRLF while the file uses LF.
2014-02-11tests: Disabled broken test 1316Dan Fandrich
See http://curl.haxx.se/mail/lib-2014-02/0004.html for a discussion on the problem.
2014-02-09tests: Added test for IMAP LSUB commandSteve Holme
2014-02-09tests: Removed test 807 as it has been superseded by tests 815 and 816Steve Holme
2014-02-09tests: Updated the titles of tests 815 and 816Steve Holme
2014-02-09tests: Re-enabled IMAP tests that require URL specific option supportSteve Holme
2014-02-08test96: updated according to recent changesDaniel Stenberg
2014-02-08tool_getparam: Added support for parsing of specific URL optionsSteve Holme
2014-02-07formpost: use semicolon in multipart/mixedDaniel Stenberg
Not comma, which is an inconsistency and a mistake probably inherited from the examples section of RFC1867. This bug has been present since the day curl started to support multipart formposts, back in the 90s. Reported-by: Rob Davies Bug: http://curl.haxx.se/bug/view.cgi?id=1333
2014-02-06tests: add test for bug #1327 (dns cache timeout)Romulo A. Ceccon
Fix for bug #1303 (030a2b8cb) was not complete. libcurl still pruned DNS entries added manually after detecting a dead connection. This test checks such behavior.
2014-02-06tests: add test for bug #1303 (dns cache timeout)Romulo A. Ceccon
Test-case 1515 reproduces bug #1303, where libcurl would incorrectly prune DNS entries added via CURLOPT_RESOLVE after the DNS_CACHE_TIMEOUT had expired.
2014-02-03tests: Moved some comments so the test data files parse as XMLDan Fandrich
2014-02-02tests: Fixed test172 cookie expirySteve Holme
The test contains a cookie jar file where one of the cookies has an expiry date of 1391252187 -- Sat, 1 Feb 2014 10:56:27 GMT which has now expired. Updated to Wed, 14 Oct 2037 16:36:33 GMT as per test 179. Reported-by: Adam Sampson Bug: http://curl.haxx.se/bug/view.cgi?id=1330
2014-02-01test suite: stop conversion of valid output to CRLF on WindowsMarc Hoersken
Since the output isn't actually being written in text-mode and it was rather used as a workaround, disable text-mode for these tests.