aboutsummaryrefslogtreecommitdiff
path: root/tests/data/Makefile.am
AgeCommit message (Collapse)Author
2011-03-08sftp-multi: test 582 addedHenry Ludemann
Add test 582 for uploading a file using sftp and the multi interface. (Patch and test slightly tweaked by Daniel Stenberg) Initially marked as disabled until it is fixed in the source.
2011-03-04Moved test 577 into the unit test framework as test 1307Dan Fandrich
2011-03-04Added unit test 1306 so tests 558 & 559 are now fully replacedDan Fandrich
2011-03-04Converted tests 558 & 559 to use the unit test framework as 1305Dan Fandrich
Test 558 was just a subset of 559 which is something that can be easily added later.
2011-02-10test1304: Added some unit tests for Curl_parsenetrc.Julien Chaffraix
Moved some definitons into the header file so that we can reuse them.
2011-01-28test: add test 580 to the distDaniel Stenberg
2011-01-25tests: more multiple headers checksDaniel Stenberg
2011-01-19TLS-SRP: support added when using GnuTLSQuinn Slack
2011-01-04unittest: 1303 tests Curl_timeleftDaniel Stenberg
I came up with 33 different ways to call it and verify that it returns the correct return code.
2011-01-04tests: add 1302 to the packageDaniel Stenberg
2011-01-04unittest: verify curl_strequalDaniel Stenberg
2011-01-03unittest: framework for unit-testingDaniel Stenberg
This is the first approach at doing fairly clean and easy to write and debug unit tests.
2010-11-10test1120: verify FTP response 421Daniel Stenberg
curl mustn't try to use the control connection after the 421 is received
2010-11-03test1119: verify symbols-in-versionsDaniel Stenberg
2010-10-19URL-parsing: consider ? a dividerDaniel Stenberg
The URL parser got a little stricter as it now considers a ? to be a host name divider so that the slightly sloppier URLs work too. The problem that made me do this change was the reported problem with an URL like: www.example.com?email=name@example.com This form of URL is not really a legal URL (due to the missing slash after the host name) but is widely accepted by all major browsers and libcurl also already accepted it, it was just the '@' letter that triggered the problem now. The side-effect of this change is that now libcurl no longer accepts the ? letter as part of user-name or password when given in the URL, which it used to accept (and is tested in test 191). That letter is however mentioned in RFC3986 to be required to be percent encoded since it is used as a divider. Bug: http://curl.haxx.se/bug/view.cgi?id=3090268
2010-09-29Renamed test1204 to test1117 to move it into the normal rangeDan Fandrich
2010-09-27Added test case 1204 to test HTTP range failureDan Fandrich
This is an attempt to reproduce bug #3076808
2010-08-25Gopher using Curl_write; test suite (4 tests)Cameron Kaiser
2010-08-25http: handle trailer headers in all chunked responsesDaniel Stenberg
HTTP allows that a server sends trailing headers after all the chunks have been sent WITHOUT signalling their presence in the first response headers. The "Trailer:" header is only a SHOULD there and as we need to handle the situation even without that header I made libcurl ignore Trailer: completely. Test case 1116 was added to verify this and to make sure we handle more than one trailer header properly. Reported by: Patrick McManus Bug: http://curl.haxx.se/bug/view.cgi?id=3052450
2010-08-19test: added test 579 to verify progress callback for chunked postJulien Chaffraix
The 66 bytes checked are those 38 bytes with the chunked encoding headers added: 8+8+10+35+5 = 66 The three-letter words become 8 bytes on the wire because they are sent like: "3\r\none\r\n" ... and there's the trailing 5 bytes write after the four lines since the final chunk is sent (which is "0\r\n\r\n").
2010-08-16progress: callback for POSTs less than MAX_INITIAL_POST_SIZEJulien Chaffraix
Add a call to Curl_pgrsSetUploadSize in this case valided by a test case. Reported by: Никита Дорохин. Bug: http://curl.haxx.se/mail/lib-2010-04/0173.html
2010-05-28test1115: verify that unexpected 1xx responses work fineDaniel Stenberg
2010-05-27test313: a new test for CRL supportKamil Dudka
2010-05-12FTP: WILDCARDMATCH/CHUNKING/FNMATCH addedPavel Raiskup
2010-05-07multi interface: missed storing connection timeDaniel Stenberg
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
2010-04-19Implement SMTP authenticationmonnerat
2010-03-24Fix RTSP GET_PARAMETER empty and non-empty operation.Chris Conroy
Test coverage included. Thanks to Massimo Callegari for the bug report
2010-02-22- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.Patrick Monnerat
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required). - Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO. - Test case 804 for HELO fallback.
2010-01-28Chris Conroy provided first RTSP testsYang Tse
2010-01-19- David McCreedy brought a fix and a new test case (129) to make libcurl workDaniel Stenberg
again when downloading files over FTP using ASCII and it turns out that the final size of the file is not the same as the initial size the server reported. This is very common since servers don't take the newline conversions into account.
2010-01-12Added test case #1112 which does an FTPS download with strict timeoutYang Tse
and slow data transfer in a similar way as test case #1086 does for FTP. This also exercises <killserver> section for the FTPS server.
2010-01-11- The tests/runtests.pl script now checks to see if the test case that runs isDaniel Stenberg
present in the tests/data/Makefile.am and outputs a notice message on the screen if not. Each test file has to be included in that Makefile.am to get included in release archives and forgetting to add files there is a common mistake. This is an attempt to make it harder to forget.
2010-01-07List fragment tests in Makefile.am and better provide better namesClaes Jakobsson
2010-01-01- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. ThisDaniel Stenberg
command is a special "hack" used by the drftpd server, but even though it is a custom extension I've deemed it fine to add to libcurl since this server seems to survive and people keep using it and want libcurl to support it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also usable from the curl tool with --ftp-pret. Using this option on a server that doesn't support this command will make libcurl fail.
2009-12-30(SMTP) support DATA better in the server and make sure to "escape" CRLF.CRLFDaniel Stenberg
sequences in uploaded data. The test server doesn't "decode" escaped dot-lines but instead test cases must be written to take them into account. Added test case 803 to verify dot-escaping.
2009-12-29test 802 is the first SMTP test, although not strictly SMTP yet...Daniel Stenberg
2009-12-21test 566 was missingDaniel Stenberg
2009-12-20introducing the first IMAP FETCH testDaniel Stenberg
2009-12-14- Jon Nelson found a regression that turned out to be a flaw in how libcurlDaniel Stenberg
detects and uses proxies based on the environment variables. If the proxy was given as an explicit option it worked, but due to the setup order mistake proxies would not be used fine for a few protocols when picked up from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added test case 1106 that verifies this functionality. (http://curl.haxx.se/bug/view.cgi?id=2913886)
2009-12-12introducing IMAP, POP3 and SMTP support (still lots of polish left to do)Daniel Stenberg
2009-10-30- "Tom" posted a bug report that mentioned how libcurl did wrong when doing aDaniel Stenberg
POST using a read callback, with Digest authentication and "Transfer-Encoding: chunked" enforced. I would then cause the first request to be wrongly sent and then basically hang until the server closed the connection. I fixed the problem and added test case 565 to verify it.
2009-09-26added test 1105 (disabled) - it repeats a cookie path bug we need to fixDaniel Stenberg
2009-09-17added three missing files to the dist archiveDaniel Stenberg
2009-09-11Renumbered test565 to test1104 to move it out of the range reserved forDan Fandrich
libcurl tests.
2009-09-10- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epochDaniel Stenberg
start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1.
2009-08-24- Introduced a SYST-based test to properly set-up name format when dealing ↵Patrick Monnerat
with the OS/400 FTP server. - Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever.
2009-05-17- James Bursa posted a patch to the mailing list that fixed a problem withDaniel Stenberg
no_proxy which made it not skip the proxy if the URL entered contained a user name. I added test case 1101 to verify.
2009-05-11Added test 564 as DISABLED. It is for testing FTP over a SOCK4 proxy usingDaniel Stenberg
the multi interface, which currently doesn't work because of how the data connection is not waiting for connect before it tries to do proxy magic.
2009-05-10Added test 1100 - "HTTP POST with NTLM authorization and following a 302Daniel Stenberg
redirect" doesn't work, seems to repeat what Ebenezer Ikonne (on curl-users) and Laurent Rabret (on curl-library) have reported. Disabled for now.
2009-05-03Added and disabled test case 563 which shows KNOWN_BUGS #59. The bugDan Fandrich
report failed to mention that a proxy must be used to reproduce it.