aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
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.
2014-02-01HTTP tests: use CRLF as header seperator according to RFC 2616Marc Hoersken
2014-02-01FTP tests: enable text-mode for more datacheck sectionsMarc Hoersken
2014-01-31FTP tests: enable text-mode for data and datacheck sectionsMarc Hoersken
2014-01-30tests: Missed updating a type-3 message in commit 1c9aaa0bacSteve Holme
2014-01-30tests: Updated NTLM tests for NTLMv2 type-3 messageSteve Holme
2014-01-26http-pipe tests: use text as output data mode to support WindowsMarc Hoersken
2014-01-25tests: Added missing HTTP proxy keywordsDan Fandrich
2014-01-25tests: added missing <features> http to a number of testsDan Fandrich
2014-01-24tests: Added a keyword for tests depending on internal info logsDan Fandrich
2014-01-24tests: Added missing http feature to tests 509 & 1513Dan Fandrich
2014-01-24test1514: Used the macros for host and port numberDan Fandrich
2014-01-20test1514: added - no more negative Content-Length (HTTP POST)Cédric Deltheil
This covers changes from commit afd288b2.
2014-01-17test1417: verify chunked-encoding transfer without CRDaniel Stenberg
As was introduced in 8f6b4be8af04
2014-01-17test1416: verify the chunked size overflow detectionDaniel Stenberg
2014-01-17Fixed some XML syntax issues in the test dataDan Fandrich
Also, make the ftp server return a canned response that doesn't cause XML verification problems. Although the test file format isn't technically XML, it's still handy to be able to use XML tools to verify and manipulate them.
2014-01-04ftp tests: provide LIST responses in the test file itselfDaniel Stenberg
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.
2014-01-03test1513: fix spellingDaniel Stenberg
2014-01-03test1513: added - verify early progress callback return failDaniel Stenberg
Verify the change brought in commit 8e11731653061. It makes sure that returning a failure from the progress callback even very early results in the correct return code.
2013-12-28tests: Disabled NTLM tests when running with SSPI enabledSteve Holme
2013-12-24tests: Removed APOP timestamp from default server greetingSteve Holme
2013-12-23test936: Corrected login details from commit 7246255416617aSteve Holme
2013-12-23tests: Corrected syntax error from commit 7246255416617aSteve Holme
2013-12-23tests: Added SMTP SASL downgrade testsSteve Holme
2013-12-23tests: Added POP3 SASL downgrade testsSteve Holme
2013-12-23tests: Added IMAP SASL downgrade testsSteve Holme
2013-12-22tests: Added SASL cancellation keywordsSteve Holme
Added SASL CANCELLATION keywords to differentiate these tests from the upcoming SASL downgrade tests.
2013-12-18imap/pop3/smtp: Added support for SASL authentication downgradesSteve Holme
Added support for downgrading the SASL authentication mechanism when the decoding of CRAM-MD5, DIGEST-MD5 and NTLM messages fails. This enhances the previously added support for graceful cancellation by allowing the client to retry a lesser SASL mechanism such as LOGIN or PLAIN, or even APOP / clear text (in the case of POP3 and IMAP) when supported by the server.
2013-12-14login options: remove the ;[options] support from CURLOPT_USERPWDDaniel Stenberg
To avoid the regression when users pass in passwords containing semi- colons, we now drop the ability to set the login options with the same options. Support for login options in CURLOPT_USERPWD was added in 7.31.0. Test case 83 was modified to verify that colons and semi-colons can be used as part of the password when using -u (CURLOPT_USERPWD). Bug: http://curl.haxx.se/bug/view.cgi?id=1311 Reported-by: Petr Bahula Assisted-by: Steve Holme Signed-off-by: Daniel Stenberg <daniel@haxx.se>
2013-11-24tests: Re-ordered test arguments to match other IMAP testsSteve Holme
2013-11-24tests: Corrected login "username" authentication responsesSteve Holme
2013-11-24tests: Added error code explanation commentsSteve Holme
2013-11-24tests: Removed expected QUIT response from graceful cancellation testsSteve Holme
A failure during authentication, which is performed as part of the CONNECT phrase (for IMAP, POP3 and SMTP) is considered by the multi- interface as being closed prematurely (aka a dead connection). As such these protocols cannot issue the relevant QUIT or LOGOUT command. Temporarily fixed the test cases until we can fix this properly.
2013-11-24tests: Added SMTP graceful authentication cancellation testsSteve Holme
2013-11-24tests: Added POP3 graceful authentication cancellation testsSteve Holme
2013-11-23tests: Added IMAP graceful authentication cancellation testsSteve Holme